community, genai, vertexai[major]: release 2.0 (#489)
* update deps
* delete check_pydantic script
* to_pydantic_2
* model_before_rewrite
* model_after_rewrite
* Self
* format
* clean up
* model_before_rewrite
* change VertexAI.validate_environment to pre
* lint
* update chat and embeddings validation to pre
* update some features to pydantic 2
* remove unused type ignores
* fix validate_environment in llm and chat models
* more validation updates
* change maas model garden validation to post
* add protected namespaces to embeddings
* fix embeddings init
* update docstrings
* delete check_pydantic script
* update dependencies
* to_pydantic_2
* model_after_rewrite
* Self
* revert change to _genai_extension
* format
* remove check_pydantic from MakeFile
* remove unused imports
* fix
* upgrade mypy
* fix type hints
* update serialization test
* add test_watch to makefile
* merge
* add snapshots
* schema -> model_json_schema
* update _format_json_schema_to_gapic
* support v1 function
* add test for union types
* add integration test workflow
* Revert "add integration test workflow"
This reverts commit 2589fd68abf99f30a4061bf12d33700b2dc66180.
* lock
* infra: remove pydantic compatibility checks
* delete check_pydantic script
* extra_migrate
* to_pydantic_2
* model_before_rewrite
* model_after_rewrite
* Self
* format
* update deps
* change some post validators to pre
* set private attributes with PrivateAttr instead of config
* resolve lint errors
* increment version to 2.0.0.dev1
* increment version to 2.0.0.dev1
* add snapshots for serialization standard test
* bump core dep
* json_schema_extra in test
* protected namespaces
* fix warnings
* fix warnings
* fix mistral dependency
* fix warning
* increment version to 2.0.0.dev1
* fix mistral dep and lock
* update docstrings
* todo: figure out if we need google-cloud-core in package deps
* increment version to get around test.pypi
* assign missed default
* catch pydantic v2 schemas in dict (#488)
* catch pydantic v2 schemas in dict
* lock
* update test
* fix VertexFSVectorStore
* fix equality check in community integration tests for pydantic 2
* update genai + lock
* update vertexai + lock
* update snapshots
* update genai snapshots
* update community + lock
---------
Co-authored-by: Leonid Kuligin <lkuligin@yandex.ru>
Co-authored-by: Bagatur <22008038+baskaryan@users.noreply.github.com>