Skip to content

Conversation

@albertsola
Copy link
Contributor

No description provided.

@albertsola albertsola force-pushed the MPT-12330/order_resource_client branch from be9bc0d to 81d44d5 Compare August 20, 2025 08:47
@albertsola albertsola self-assigned this Aug 20, 2025
@albertsola albertsola force-pushed the MPT-12330/order_resource_client branch 2 times, most recently from eb11da4 to aeae1f1 Compare August 20, 2025 10:56
@albertsola albertsola marked this pull request as ready for review August 20, 2025 12:16
@albertsola albertsola force-pushed the MPT-12330/order_resource_client branch from aeae1f1 to 86765f8 Compare August 20, 2025 12:40
@albertsola albertsola force-pushed the MPT-12330/order_resource_client branch from 86765f8 to c5027f5 Compare August 20, 2025 12:48
@sonarqubecloud
Copy link



class MPTClient(httpx.Client):
class HTTPClient(httpx.Client):
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Why is this name better? Before it was a bit more specific

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

mpt_api_client/http/client.py: HTTPClient is the class that manages the http connection (Auth and headers).
Now with this PR we have a new MPTClient to be used in mpt_api_client/mptclient.py which gives you access to a higher level of abstraction layer to access the MPT API.

@albertsola albertsola merged commit abb6d87 into main Aug 21, 2025
3 checks passed
@albertsola albertsola deleted the MPT-12330/order_resource_client branch August 21, 2025 10:38
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

5 participants