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

vdk-core: Accept string as job_path in JobConfig #2251

Merged
merged 1 commit into from
Jun 15, 2023

Conversation

doks5
Copy link
Contributor

@doks5 doks5 commented Jun 14, 2023

Currently, the JobConfig class accepts only pathlib.Path as data_job_path. This, however, causes unnecesary warnings when a string is passed as job path.

This change updates the type annotation of the init to support both pathlib.Path and string as data_job_path.

Testing Done: CI/CD

Currently, the JobConfig class accepts only pathlib.Path as data_job_path. This,
however, causes unnecesary warnings when a string is passed as job path.

This change updates the type annotation of the init to support both pathlib.Path
and string as data_job_path.

Testing Done: CI/CD

Signed-off-by: Andon Andonov <andonova@vmware.com>
@doks5 doks5 self-assigned this Jun 14, 2023
@doks5 doks5 merged commit 7269d5c into main Jun 15, 2023
11 checks passed
@doks5 doks5 deleted the person/andonova/file-path branch June 15, 2023 11:35
murphp15 pushed a commit that referenced this pull request Jun 21, 2023
Currently, the JobConfig class accepts only pathlib.Path as
data_job_path. This, however, causes unnecesary warnings when a string
is passed as job path.

This change updates the type annotation of the init to support both
pathlib.Path and string as data_job_path.

Testing Done: CI/CD

Signed-off-by: Andon Andonov <andonova@vmware.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

4 participants