Skip to content

Fix: fix types.Part.from_data to types.Part.from_bytes in docs/artifacts/index.md #259

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 12 commits into from
May 30, 2025

Conversation

yrangana
Copy link
Contributor

@yrangana yrangana commented May 14, 2025

changed types.Part.from_data to types.Part.from_bytes

There is no class method from_data in types.Part class

https://github.com/googleapis/python-genai/blob/main/google/genai/types.py#L623

@yrangana yrangana changed the title Update docs/artifacts/index.md Fix: fix types.Part.from_data to types.Part.from_bytes in docs/artifacts/index.md May 14, 2025
@lavinigam-gcp
Copy link
Collaborator

@yrangana Thank you for fixing this. Merging!

@lavinigam-gcp lavinigam-gcp merged commit 176cd38 into google:main May 30, 2025
3 checks passed
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