Skip to content

Commit

Permalink
Remove domain assignment
Browse files Browse the repository at this point in the history
  • Loading branch information
kwheelan authored Jan 19, 2025
1 parent 3209de6 commit 4ab8081
Showing 1 changed file with 4 additions and 5 deletions.
9 changes: 4 additions & 5 deletions app/models/dimension.py
Original file line number Diff line number Diff line change
Expand Up @@ -7,20 +7,19 @@ def __init__(self, col_name : str, type = None):
self._member_name = get_col_no_spaces(col_name) # Default value
self._member_type = "typed" # Default type
self._axis = "Default"
self._domain = "Default"

if col_name in axis_dict:
self._member_type = "explicit"
self._axis, self._domain, self._member_name = axis_dict[col_name]
self._axis, self._member_name = axis_dict[col_name]
elif type == "gov":
# custom gov funds
self._axis, self._domain = "FundIdentifier", "FundIdentifier"
self._axis = "FundIdentifier"
elif type == "prop":
# custom proprietary funds
self._axis, self._domain = "TypeOfActivitiesProprietaryFunds", "ProprietaryFunds"
self._axis = "TypeOfActivitiesProprietaryFunds"
elif type == "custom":
# Custom line item
self._axis, self._domain = "DisaggregationLineItem", ""
self._axis = "DisaggregationLineItem"

@property
def axis(self):
Expand Down

0 comments on commit 4ab8081

Please sign in to comment.