Skip to content

Commit

Permalink
fix: Regression in meltano remove with error stating the plugin is …
Browse files Browse the repository at this point in the history
…missing the `settings_with_extras` attribute (meltano#6694)
  • Loading branch information
Ken Payne committed Sep 1, 2022
1 parent c22ffa7 commit ba088e9
Show file tree
Hide file tree
Showing 4 changed files with 8 additions and 5 deletions.
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -32,6 +32,7 @@ api/parser
*.ntvs*
*.njsproj
*.sln
.sourcery.yaml

# Byte-compiled / optimized / DLL files
__pycache__/
Expand Down
4 changes: 0 additions & 4 deletions docs/example-library/meltano-objects/ending-meltano.yml
Original file line number Diff line number Diff line change
Expand Up @@ -7,10 +7,6 @@ environments:
- name: qa
- name: prod
plugins:
extractors:
- name: tap-gitlab
variant: meltanolabs
pip_url: git+https://github.com/MeltanoLabs/tap-gitlab.git
loaders:
- name: target-jsonl
variant: andyh1203
Expand Down
6 changes: 6 additions & 0 deletions docs/example-library/meltano-objects/index.md
Original file line number Diff line number Diff line change
Expand Up @@ -31,3 +31,9 @@ meltano job add gitlab_to_jsonl --tasks '["tap-gitlab target-jsonl"]'
```shell
meltano schedule add run_gitlab --job gitlab_to_jsonl --interval "@daily"
```

## Remove a plugin

```shell
meltano remove extractor tap-gitlab
```
2 changes: 1 addition & 1 deletion src/meltano/core/plugin/settings_service.py
Original file line number Diff line number Diff line change
Expand Up @@ -62,7 +62,7 @@ def __init__(

environment_env = {}
if self.project.active_environment:
with self.feature_flag(
with project_settings_service.feature_flag(
FeatureFlags.STRICT_ENV_VAR_MODE, raise_error=False
) as strict_env_var_mode:
environment_env = {
Expand Down

0 comments on commit ba088e9

Please sign in to comment.