Skip to content

add support for custom_data param#11

Open
VikashPratheepan wants to merge 1 commit into
mainfrom
add_custom_data_support
Open

add support for custom_data param#11
VikashPratheepan wants to merge 1 commit into
mainfrom
add_custom_data_support

Conversation

@VikashPratheepan
Copy link
Copy Markdown

What's Changed:

Added support for custom_data param

data = {"timeout": self.api_timeout, "include_metadata": self.include_metadata}
# Add custom_data if provided
if custom_data is not None:
data["custom_data"] = json.dumps(custom_data) if isinstance(custom_data, dict) else custom_data
Copy link
Copy Markdown

Choose a reason for hiding this comment

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

The alignment seems off. Could you pls check @VikashPratheepan ?

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.

3 participants