Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
SNOW-1571918 Update deprecated usages to recommended ones (#1400)
Fixes warnings by updating uses of deprecated code: - Fixes a warning from `click` that `autocompletion` is deprecated: > DeprecationWarning: 'autocompletion' is renamed to 'shell_complete'. The old name is deprecated and will be removed in Click 8.1. See the docs about 'Parameter' for information about new behavior. _typer_param_setup_autocompletion_compat(self, autocompletion=autocompletion) - Fixes a warning from `pydantic` about a deprecated pattern: > PydanticDeprecatedSince20: Using extra keyword arguments on `Field` is deprecated and will be removed. Use `json_schema_extra` instead. (Extra keys: 'is_discriminator_field'). Deprecated in Pydantic V2.0 to be removed in V3.0. See Pydantic V2 Migration Guide at https://errors.pydantic.dev/2.8/migration/
- Loading branch information