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

Introduce domain-bound environment variable read #378

Draft
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

george-zubrienko
Copy link
Contributor

Fixes/Implements #.

Scope

Implemented:

  • Awesome new feature
  • And another awesome new feature

Additional changes:

  • Refactored AwesomeClass
  • Removed deprecated AnotherClass and get_awesomeness from AwesomeClass

Checklist

  • GitHub issue exists for this change.
  • Unit tests added and they pass.
  • Pylint 10.0/10.0 without bloating .pylintrc with exceptions.
  • Review requested on latest commit.

Copy link

Coverage

Coverage Report
FileStmtsMissCoverMissing
adapta/connectors/service_bus
   __init__.py110%18
   _connector.py17170%19–61
adapta/logs
   _base.py983267%90–93, 258–260, 272–274, 315–347
   _internal.py14286%84–90
adapta/logs/handlers
   datadog_api_handler.py1103172%90, 107–114, 125, 137–153, 162–195, 204, 210, 238
adapta/metrics/providers
   datadog_provider.py38380%19–123
adapta/ml
   __init__.py110%19
   _model.py10100%17–42
adapta/ml/mlflow
   __init__.py220%17–18
   _client.py42420%19–142
   _functions.py42420%17–111
adapta/process_communication
   _models.py36683%94–100
adapta/security/clients
   __init__.py261254%27–28, 34–35, 41–42, 48–49, 53–54, 58–59
   _azure_client.py714931%42, 55–64, 74–77, 80, 83–85, 94–152, 155, 158–196
adapta/security/clients/aws
   _aws_client.py28968%36–37, 44, 54, 61, 68, 83, 89–94
   _aws_credentials.py471862%51–61, 65, 69, 73, 82–84, 88, 92, 96
adapta/security/clients/hashicorp_vault
   hashicorp_vault_client.py28389%46, 83, 87
   kubernetes_client.py21576%45–48, 67–68
   oidc_client.py452056%33–62, 80–83, 92
   token_client.py17759%42–45, 52–53, 56, 59
adapta/storage
   exceptions.py110%22
adapta/storage/blob
   azure_storage_client.py1094856%69–76, 81–87, 109–110, 113–139, 142, 158–171, 179–183, 202, 223–225, 234, 250–254, 264–266, 269–288
   s3_storage_client.py42420%19–141
adapta/storage/cache
   redis_cache.py38380%19–108
adapta/storage/database
   azure_sql.py322038%55, 70, 84–122, 132
   odbc.py701381%92–102, 112, 123–124, 140, 146–152, 178, 207–212
   snowflake_sql.py33330%4–93
   trino_sql.py38380%20–120
adapta/storage/delta_lake
   _functions.py611182%139, 144, 146, 148, 205, 215, 225–235, 241, 272
adapta/storage/distributed_object_store
   __init__.py110%16
adapta/storage/distributed_object_store/datastax_astra
   __init__.py220%16–19
   _models.py19190%4–52
   astra_client.py1831830%20–622
adapta/storage/models
   astra.py24579%32, 35, 39, 52, 55
   aws.py28679%35, 41, 48, 74, 84–86
   azure.py601772%32, 36–40, 47, 67, 70–71, 74–75, 89–93, 100, 113, 120, 123–124, 127
   filter_expression.py93298%56, 261
   hive.py582557%37, 41, 44, 92–99, 111, 114–115, 124–164, 167
   local.py21481%31, 35, 38, 50
adapta/storage/secrets
   azure_secret_client.py20200%19–66
adapta/utils
   _common.py841385%66–79, 90, 120, 140, 160, 217
   concurrent_task_runner.py27196%109
adapta/utils/data_structures
   _functions.py30197%136
adapta/utils/decorators
   _logging.py25196%46
   _rate_limit.py25196%74
tests
   test_utils.py125199%327
   test_vault_client.py801878%33–35, 40–42, 47–51, 56–57, 62–66
TOTAL275891167% 

Tests Skipped Failures Errors Time
149 5 💤 0 ❌ 0 🔥 41.205s ⏱️

Copy link

Coverage

Coverage Report
FileStmtsMissCoverMissing
adapta/connectors/service_bus
   __init__.py110%18
   _connector.py17170%19–61
adapta/logs
   _base.py983267%90–93, 258–260, 272–274, 315–347
   _internal.py14286%84–90
adapta/logs/handlers
   datadog_api_handler.py1103172%90, 107–114, 125, 137–153, 162–195, 204, 210, 238
adapta/metrics/providers
   datadog_provider.py38380%19–123
adapta/ml
   __init__.py110%19
   _model.py10100%17–42
adapta/ml/mlflow
   __init__.py220%17–18
   _client.py42420%19–142
   _functions.py42420%17–111
adapta/process_communication
   _models.py36683%94–100
adapta/security/clients
   __init__.py261254%27–28, 34–35, 41–42, 48–49, 53–54, 58–59
   _azure_client.py714931%42, 55–64, 74–77, 80, 83–85, 94–152, 155, 158–196
adapta/security/clients/aws
   _aws_client.py28968%36–37, 44, 54, 61, 68, 83, 89–94
   _aws_credentials.py471862%51–61, 65, 69, 73, 82–84, 88, 92, 96
adapta/security/clients/hashicorp_vault
   hashicorp_vault_client.py28389%46, 83, 87
   kubernetes_client.py21576%45–48, 67–68
   oidc_client.py452056%33–62, 80–83, 92
   token_client.py17759%42–45, 52–53, 56, 59
adapta/storage
   exceptions.py110%22
adapta/storage/blob
   azure_storage_client.py1084756%69–76, 81–87, 109–110, 113–139, 142, 158–171, 179–183, 202, 223–225, 234, 250–254, 264–266, 269–288
   s3_storage_client.py42420%19–141
adapta/storage/cache
   redis_cache.py38380%19–108
adapta/storage/database
   azure_sql.py322038%55, 70, 84–122, 132
   odbc.py701381%92–102, 112, 123–124, 140, 146–152, 178, 207–212
   snowflake_sql.py33330%4–93
   trino_sql.py38380%20–120
adapta/storage/delta_lake
   _functions.py611182%139, 144, 146, 148, 205, 215, 225–235, 241, 272
adapta/storage/distributed_object_store
   __init__.py110%16
adapta/storage/distributed_object_store/datastax_astra
   __init__.py220%16–19
   _models.py19190%4–52
   astra_client.py1831830%20–622
adapta/storage/models
   astra.py24579%32, 35, 39, 52, 55
   aws.py28679%35, 41, 48, 74, 84–86
   azure.py601772%32, 36–40, 47, 67, 70–71, 74–75, 89–93, 100, 113, 120, 123–124, 127
   filter_expression.py93298%56, 261
   hive.py582557%37, 41, 44, 92–99, 111, 114–115, 124–164, 167
   local.py21481%31, 35, 38, 50
adapta/storage/secrets
   azure_secret_client.py20200%19–66
adapta/utils
   _common.py841385%66–79, 90, 120, 140, 160, 217
   concurrent_task_runner.py27196%109
adapta/utils/data_structures
   _functions.py30197%136
adapta/utils/decorators
   _logging.py25196%46
   _rate_limit.py25196%74
tests
   test_utils.py125199%327
   test_vault_client.py801878%33–35, 40–42, 47–51, 56–57, 62–66
TOTAL275691067% 

Tests Skipped Failures Errors Time
149 5 💤 0 ❌ 0 🔥 41.724s ⏱️

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.

1 participant