Skip to content

Latest commit

 

History

History
9 lines (5 loc) · 703 Bytes

2.0-Upgrade.md

File metadata and controls

9 lines (5 loc) · 703 Bytes

Upgrading to chartmogul-python 2.0.0

The package upgrade brings breaking changes to the Metrics API. All other APIs remain unaffected. Please note the following changes:

  • If you used the Metrics API to get a customer's activities or subscriptions, make the following changes in the namespace
    • chartmogul.Subscription.all(config,uuid="cus_922c2672-ee04-11e6-bea8-7fac984477db") should be replaced by chartmogul.CustomerSubscription.all(config,uuid="cus_922c2672-ee04-11e6-bea8-7fac984477db")
    • chartmogul.Activity.all(config,uuid="cus_922c2672-ee04-11e6-bea8-7fac984477db") should be replaced by chartmogul.CustomerActivity.all(config,uuid="cus_922c2672-ee04-11e6-bea8-7fac984477db")