-
Notifications
You must be signed in to change notification settings - Fork 0
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
Feat/disabledrivers #223
Feat/disabledrivers #223
Conversation
cbb81ce
to
d62ae9d
Compare
return list(map(lambda p: p.name, DriverManager.drivers[process])) | ||
|
||
@staticmethod | ||
def solve(process: str, ressource, include_drivers: list[str] = [], exclude_drivers: list[str] = []) -> AbstractDriver: |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
does resource have a type? Should be with only one s by the way
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
No, it does not have a type: it depends on the process: ingest->url, download->item
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
on s only, indeed.
@@ -88,6 +83,8 @@ def init(configuration: dict): | |||
raise DriverException("Invalid configuration for download drivers ({})".format(configuration)) | |||
AprocProcess.input_model = InputDownloadProcess | |||
Notifications.init() | |||
description.inputs.get("include_drivers").schema_.items.enum = DriverManager.driver_names(summary.id) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I don't understand why you have to access to the properties this way, and not by just doing description.inputs.include_drivers
Quality Gate passedIssues Measures |
Changes:
Side change: