google-gemini / generative-ai-python

The official Python library for the Google Gemini API
https://pypi.org/project/google-generativeai/
Apache License 2.0
1.18k stars 223 forks source link

_OPERATOR dict with multiple 6 mentioned multiple times #411

Closed PandasPirate closed 2 days ago

PandasPirate commented 6 days ago

Description of the bug:

just doing a static analysis of the code and found. I don't know how to fix it, so I am raising this issue.

https://github.com/google-gemini/generative-ai-python/blob/630318b34f91c0d75b1a73131951a56c680005f3/google/generativeai/types/retriever_types.py#L109

Actual vs expected behavior:

No response

Any other information you'd like to share?

No response

MarkDaoust commented 4 days ago

Oh!

Thanks for pointing this out. Here's a correction: https://github.com/google-gemini/generative-ai-python/pull/419