Closed jschalk closed 3 weeks ago
This PR implements significant changes to the codebase's configuration and filtering system, primarily focusing on renaming and restructuring components while adding new functionality. The changes include renaming "bridgekind" to "bridgeunit", adding fiscal configuration support, and implementing brick format validation.
erDiagram
BUD_ACCT_MEMBERSHIP {
string allowed_crud
string brick_type
AcctID acct_id
FiscalID fiscal_id
GroupID group_id
TimeLinePoint time_id
}
BUD_ACCTUNIT {
string allowed_crud
string brick_type
AcctID acct_id
FiscalID fiscal_id
TimeLinePoint time_id
}
FISCAL_CASHBOOK {
string allowed_crud
string brick_type
AcctID acct_id
FiscalID fiscal_id
string owner_id
TimeLinePoint time_id
string timestamp
}
FISCAL_PURVIEW_EPISODE {
string allowed_crud
string brick_type
AcctID acct_id
FiscalID fiscal_id
string owner_id
TimeLinePoint time_id
string timestamp
}
FISCAL_TIMELINE_HOUR {
string allowed_crud
string brick_type
string cumlative_minute
FiscalID fiscal_id
string hour_label
TimeLinePoint time_id
}
FISCAL_TIMELINE_MONTH {
string allowed_crud
string brick_type
string cumlative_day
FiscalID fiscal_id
string month_label
TimeLinePoint time_id
}
FISCAL_TIMELINE_WEEKDAY {
string allowed_crud
string brick_type
FiscalID fiscal_id
TimeLinePoint time_id
string weekday_label
string weekday_order
}
FISCALUNIT {
string allowed_crud
string brick_type
FiscalID fiscal_id
TimeLinePoint time_id
}
BUD_ACCT_MEMBERSHIP ||--o{ BUD_ACCTUNIT : contains
FISCAL_CASHBOOK ||--o{ FISCAL_PURVIEW_EPISODE : contains
FISCAL_TIMELINE_HOUR ||--o{ FISCAL_TIMELINE_MONTH : contains
FISCAL_TIMELINE_WEEKDAY ||--o{ FISCALUNIT : contains
classDiagram
class BridgeUnit {
+dict otx_to_inx
+str unknown_word
+str otx_road_delimiter
+str inx_road_delimiter
+dict explicit_label
+str obj_class
+OwnerID face_id
+set_all_otx_to_inx()
+get_create_inx()
+set_explicit_label()
+is_valid()
+get_dict()
+get_json()
}
class FilterUnit {
+TimeLinePoint time_id
+OwnerID face_id
+dict bridgeunits
+str unknown_word
+str otx_road_delimiter
+str inx_road_delimiter
+set_bridgeunit()
+get_bridgeunit()
+is_valid()
+set_otx_to_inx()
+get_dict()
+get_json()
}
BridgeUnit <|-- FilterUnit
note for BridgeUnit "Renamed from BridgeKind to BridgeUnit"
Change | Details | Files |
---|---|---|
Renamed BridgeKind class to BridgeUnit and updated all related references |
|
src/f09_filter/filter.py src/f09_filter/test/test_bridgeunit_.py src/f09_filter/test/test_bridgeunit_delimiter.py src/f09_filter/test/test_bridgeunit_dict.py |
Added fiscal configuration system |
|
src/f07_fiscal/fiscal_config.json src/f07_fiscal/fiscal_config.py src/f07_fiscal/test_fiscal_config/test_fiscal_config_.py |
Updated brick configuration format and validation |
|
src/f08_brick/brick_config.json src/f08_brick/test_brick_config/test_brick_config_.py src/f08_brick/brick_formats/*.json |
Renamed python_type to obj_class throughout the codebase |
|
src/f04_gift/atom_config.py src/f04_gift/test_atom/test_atom_config.py src/f09_filter/filter.py |
Summary by Sourcery
Refactor configuration files to replace 'python_type' with 'obj_class' and unify CRUD operation handling with 'allowed_crud'. Add validation functions for configuration integrity and update tests to cover these changes.
Enhancements:
Documentation:
Tests: