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

Support reading schemafiles and instancefiles from stdin #332

Merged
merged 2 commits into from
Sep 28, 2023
Merged

Conversation

sirosen
Copy link
Member

@sirosen sirosen commented Sep 28, 2023

  • Support stdin for instancefiles using '-'
    • instancefiles are read using click.File("rb")
    • the resulting IO objects are passed around, rather than the filenames or path objects
    • tests need to account for this change in the InstanceLoader
  • Support stdin for --schemafile using '-'
  • Add a new test for these usages

- instancefiles are read using `click.File("rb")`
- the resulting IO objects are passed around, rather than the
  filenames or path objects
- tests need to account for this change in the InstanceLoader
@sirosen sirosen merged commit 907db34 into main Sep 28, 2023
39 checks passed
@sirosen sirosen deleted the support-stdin branch September 28, 2023 03:07
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