Skip to content
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

Fix deprecate parameter #18195

Open
kuma0128 opened this issue Oct 9, 2024 · 0 comments · May be fixed by #18196
Open

Fix deprecate parameter #18195

kuma0128 opened this issue Oct 9, 2024 · 0 comments · May be fixed by #18196

Comments

@kuma0128
Copy link
Contributor

kuma0128 commented Oct 9, 2024

Affected module
Does it impact the UI, backend or Ingestion Framework?

Describe the bug
deprecated warning

tests/unit/topology/pipeline/test_airbyte.py: 3 warnings
tests/unit/topology/pipeline/test_databricks_pipeline.py: 7 warnings
tests/unit/topology/pipeline/test_domopipeline.py: 6 warnings
  /home/runner/work/OpenMetadata/OpenMetadata/env/lib/python3.8/site-packages/metadata/utils/deprecation.py:25: DeprecationWarning: [convert_timestamp_to_milliseconds] will be deprecated in the release [1.7.0]: Use `datetime_to_timestamp` instead
    warnings.warn(

tests/unit/workflow/test_deprecated_workflow_functions.py::TestDeprecatedSimpleWorkflow::test_workflow_print_status
  /home/runner/work/OpenMetadata/OpenMetadata/env/lib/python3.8/site-packages/metadata/utils/deprecation.py:25: DeprecationWarning: [print_status] will be deprecated in the release [1.6]: Use 'workflow.print_status()' instead.
    warnings.warn(
  /home/runner/work/OpenMetadata/OpenMetadata/env/lib/python3.9/site-packages/metadata/ingestion/source/search/elasticsearch/connection.py:174: DeprecationWarning: The 'http_auth' parameter is deprecated. Use 'basic_auth' or 'bearer_auth' parameters instead
    return Elasticsearch(
      /home/runner/work/OpenMetadata/OpenMetadata/env/lib/python3.9/site-packages/metadata/ingestion/source/messaging/kafka/connection.py:107: DeprecationWarning: AvroConsumer has been deprecated. Use AvroDeserializer instead.
    consumer_client = AvroConsumer(

tests/unit/topology/metadata/test_amundsen.py::AmundsenUnitTest::test_database_service
  /home/runner/work/OpenMetadata/OpenMetadata/env/lib/python3.10/site-packages/neo4j/_conf.py:295: DeprecationWarning: The 'trust' config key is deprecated, please use 'trusted_certificates' instead
    deprecation_warn(

To Reproduce

Screenshots or steps to reproduce

Expected behavior
A clear and concise description of what you expected to happen.

Version:

  • OS: [e.g. iOS]
  • Python version:
  • OpenMetadata version: [e.g. 0.8]
  • OpenMetadata Ingestion package version: [e.g. openmetadata-ingestion[docker]==XYZ]

Additional context
Add any other context about the problem here.

@kuma0128 kuma0128 linked a pull request Oct 9, 2024 that will close this issue
9 tasks
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 a pull request may close this issue.

1 participant