You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Currently we use AppliedAddOnClient, GroupClient, AppliedCouponClient and WalletTransactionClient clients. It's completely okay as abstraction around collections but ideally we should not expose them as applied_add_ons, groups, applied_coupons and wallet_transactions properties of the Client instance. Or, at least, we can keep them for compatibility reasons but do not suggest to use by default.
Tasks:
Create aliases for all methods in AppliedAddOnClient, GroupClient, AppliedCouponClient and WalletTransactionClient clients
Currently we use
AppliedAddOnClient
,GroupClient
,AppliedCouponClient
andWalletTransactionClient
clients. It's completely okay as abstraction around collections but ideally we should not expose them asapplied_add_ons
,groups
,applied_coupons
andwallet_transactions
properties of theClient
instance. Or, at least, we can keep them for compatibility reasons but do not suggest to use by default.Tasks:
AppliedAddOnClient
,GroupClient
,AppliedCouponClient
andWalletTransactionClient
clientsAppliedAddOnClient.create
->AddOnClient.apply
GroupClient.find_all
->BillableMetricClient.find_all_groups
AppliedCouponClient.create
->CouponClient.apply
AppliedCouponClient.find_all
->CouponClient.find_all_applied
AppliedCouponClient.destroy
->CouponClient.delete_applied
WalletTransactionClient.create
->WalletClient.create_transaction
WalletTransactionClient.find_all
->WalletClient.find_all_transactions
AppliedAddOnClient
,GroupClient
,AppliedCouponClient
andWalletTransactionClient
.Client
:applied_add_ons
,groups
,applied_coupons
andwallet_transactions
.1-3 fixed in
openapi.yaml
tags #135Note: algorithm for method name construction: operation name from OpenAPI spec file minus tag name.
After merging PR #135 and publishing new release:
Update Python docs lago-docs#172
Client
:applied_add_ons
,groups
,applied_coupons
andwallet_transactions
.The text was updated successfully, but these errors were encountered: