Skip to content

Conversation

coderabhigupta
Copy link
Contributor

Added a new client to manage environment variables.

@coderabhigupta coderabhigupta requested a review from v1r3n March 4, 2024 17:00
if body is not None:
request_body = json.dumps(body)
if isinstance(body, str):
request_body = request_body.strip('"')
Copy link
Contributor Author

Choose a reason for hiding this comment

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

This is to avoid -

>>> s = "abc"
>>> json.dumps(s)
'"abc"'

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.

2 participants