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

[MAINTENANCE] Remove DatasourceConfig #9916

Merged
merged 3 commits into from May 13, 2024

Conversation

tyler-hoffman
Copy link
Contributor

  • Description of PR changes above includes a link to an existing GitHub issue
  • PR title is prefixed with one of: [BUGFIX], [FEATURE], [DOCS], [MAINTENANCE], [CONTRIB]
  • Code is linted - run invoke lint (uses ruff format + ruff check)
  • Appropriate tests and docs have been updated

For more information about contributing, see Contribute.

After you submit your PR, keep the page open and monitor the statuses of the various checks made by our continuous integration process at the bottom of the page. Please fix any issues that come up and reach out on Slack if you need help. Thanks for contributing!

@tyler-hoffman tyler-hoffman changed the title Remove DatasourceConfig [MAINTENANCE] Remove DatasourceConfig May 10, 2024
Copy link

netlify bot commented May 10, 2024

Deploy Preview for niobium-lead-7998 canceled.

Name Link
🔨 Latest commit 82bd7f5
🔍 Latest deploy log https://app.netlify.com/sites/niobium-lead-7998/deploys/663e796ec84d030008df9fb0

Copy link

codecov bot commented May 10, 2024

Codecov Report

Attention: Patch coverage is 65.00000% with 7 lines in your changes are missing coverage. Please review.

Project coverage is 77.33%. Comparing base (4b7aec0) to head (82bd7f5).

Files Patch % Lines
...xpectations/data_context/store/datasource_store.py 66.66% 6 Missing ⚠️
...ata_context/data_context/ephemeral_data_context.py 0.00% 1 Missing ⚠️
Additional details and impacted files
@@             Coverage Diff             @@
##           develop    #9916      +/-   ##
===========================================
+ Coverage    77.24%   77.33%   +0.09%     
===========================================
  Files          491      490       -1     
  Lines        41817    41659     -158     
===========================================
- Hits         32300    32218      -82     
+ Misses        9517     9441      -76     
Flag Coverage Δ
3.10 63.57% <65.00%> (+0.04%) ⬆️
3.11 63.57% <65.00%> (+0.04%) ⬆️
3.11 athena or clickhouse or openpyxl or pyarrow or project or sqlite or aws_creds 53.68% <25.00%> (+0.01%) ⬆️
3.11 aws_deps 44.71% <25.00%> (-0.02%) ⬇️
3.11 big 54.26% <25.00%> (+0.02%) ⬆️
3.11 databricks 45.90% <25.00%> (-0.02%) ⬇️
3.11 filesystem 59.06% <25.00%> (+0.04%) ⬆️
3.11 mssql 48.78% <25.00%> (+<0.01%) ⬆️
3.11 mysql 48.83% <25.00%> (+<0.01%) ⬆️
3.11 postgresql 52.71% <25.00%> (+0.01%) ⬆️
3.11 snowflake 46.54% <25.00%> (-0.01%) ⬇️
3.11 spark 56.32% <65.00%> (+0.02%) ⬆️
3.11 trino 50.77% <25.00%> (+<0.01%) ⬆️
3.8 63.59% <65.00%> (+0.04%) ⬆️
3.8 athena or clickhouse or openpyxl or pyarrow or project or sqlite or aws_creds 53.69% <25.00%> (+0.01%) ⬆️
3.8 aws_deps 44.73% <25.00%> (-0.02%) ⬇️
3.8 big 54.27% <25.00%> (+0.02%) ⬆️
3.8 databricks 45.92% <25.00%> (-0.01%) ⬇️
3.8 filesystem 59.07% <25.00%> (+0.04%) ⬆️
3.8 mssql 48.76% <25.00%> (+<0.01%) ⬆️
3.8 mysql 48.82% <25.00%> (+<0.01%) ⬆️
3.8 postgresql 52.70% <25.00%> (+0.01%) ⬆️
3.8 snowflake 46.56% <25.00%> (-0.01%) ⬇️
3.8 spark 56.28% <65.00%> (+0.02%) ⬆️
3.8 trino 50.75% <25.00%> (+<0.01%) ⬆️
3.9 63.59% <65.00%> (+0.04%) ⬆️
cloud 0.00% <0.00%> (ø)
docs-basic 47.43% <25.00%> (-0.01%) ⬇️
docs-creds-needed 48.50% <25.00%> (+<0.01%) ⬆️
docs-spark 47.16% <25.00%> (-0.01%) ⬇️

Flags with carried forward coverage won't be shown. Click here to find out more.

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

return_value.name = key.resource_name

return return_value

def add_by_name(self, datasource_name: str, datasource_config: DatasourceConfig) -> None:
Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

These methods weren't used

@tyler-hoffman tyler-hoffman added this pull request to the merge queue May 13, 2024
Merged via the queue into develop with commit f0c5b03 May 13, 2024
69 checks passed
@tyler-hoffman tyler-hoffman deleted the m/v1-25/delete-datasource-config branch May 13, 2024 15:56
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.

None yet

2 participants