Implement client cost attribution
This commit is contained in:
parent
d2b9bc4b32
commit
33883e0977
15 changed files with 362 additions and 21 deletions
|
|
@ -87,6 +87,10 @@ def _cmd_ops_costs(args: argparse.Namespace) -> int:
|
|||
amount=row.amount,
|
||||
currency=row.currency,
|
||||
source=row.source,
|
||||
client_id=row.client_id,
|
||||
application_id=row.application_id,
|
||||
app_instance_id=row.app_instance_id,
|
||||
cost_attribution_key=row.cost_attribution_key,
|
||||
)
|
||||
for row in parse_hosteurope_csv(Path(args.path))
|
||||
]
|
||||
|
|
@ -256,4 +260,4 @@ def main(argv: list[str] | None = None) -> int:
|
|||
|
||||
|
||||
if __name__ == "__main__":
|
||||
sys.exit(main())
|
||||
sys.exit(main())
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue