Skip to content

Commit

Permalink
Fix (#29)
Browse files Browse the repository at this point in the history
* fix annotation

* fix mapping in export.load_measurements
  • Loading branch information
niro1987 authored Sep 23, 2024
1 parent 0da658a commit 54a88db
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion src/sapcommissions/export.py
Original file line number Diff line number Diff line change
Expand Up @@ -317,7 +317,7 @@ async def load_measurements(
"name": "Name",
"value": "Value",
"pipeline_run_date": "Create Date",
"rule": "Rule",
"rule_name": "Rule",
"number_of_credits": "Number of Credits",
"business_units": "Business Unit",
"ga1": "GA1",
Expand Down
2 changes: 1 addition & 1 deletion src/sapcommissions/model/resource.py
Original file line number Diff line number Diff line change
Expand Up @@ -182,7 +182,7 @@ class Credit(Resource, Generic16Mixin):
preadjusted_value: Value
origin_type_id: str
reason: str | Reference | None = None
rule: str | Reference | Reference | None = None
rule: str | Reference | None = None
is_rollable: bool | None = None
roll_date: datetime | None = None
is_held: bool | None = None
Expand Down

0 comments on commit 54a88db

Please sign in to comment.