materials-marketplace / python-sdk

Python software development kit for MarketPlace.
MIT License
0 stars 1 forks source link

Allow passing of MarketPlaceClient instance during app instantiation. #35

Closed csadorf closed 2 years ago

csadorf commented 2 years ago

Instead of passing through client constructor arguments, we enable users to instantiate the client and then pass that directly. This is an improvement to the composition model as it does not require the replication of client constructor arguments within the app constructor function and also enables users to re-use an existing client instance.