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

Add CLI #11

Merged
merged 23 commits into from
Mar 6, 2024
Merged

Add CLI #11

merged 23 commits into from
Mar 6, 2024

Conversation

DeltaDaniel
Copy link
Contributor

No description provided.

@DeltaDaniel DeltaDaniel marked this pull request as ready for review March 5, 2024 10:31
@DeltaDaniel DeltaDaniel requested a review from hf-krechan March 5, 2024 18:54
pyproject.toml Outdated Show resolved Hide resolved
Copy link
Contributor

@hf-kklein hf-kklein left a comment

Choose a reason for hiding this comment

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

lgtm

src/migmose/__main__.py Show resolved Hide resolved
preliminary_output_as_json(mig_table, m_type, output_dir)


def find_file_to_type(message_types: list[str], input_dir: Path) -> dict[str, Path]:
Copy link
Contributor

Choose a reason for hiding this comment

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

wenn die message-types die edifac-tformat sind, wäre es aus typing-sicht schöner, wenn du maus.edifact.EdifactFormat verwenden könntest: https://github.com/Hochfrequenz/mig_ahb_utility_stack/blob/cf49a681a43152eeca63ea6718018a7b9ed2c8b4/src/maus/edifact.py#L17

das ist einfacher zu handhaben als strings

Copy link
Contributor Author

Choose a reason for hiding this comment

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

src/migmose/__main__.py Outdated Show resolved Hide resolved
Copy link
Contributor

Choose a reason for hiding this comment

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

ich nehm an, die echten tests kommen dann in #12 ?

DeltaDaniel and others added 3 commits March 6, 2024 11:57
Co-authored-by: konstantin <konstantin.klein@hochfrequenz.de>
Co-authored-by: konstantin <konstantin.klein@hochfrequenz.de>
@DeltaDaniel DeltaDaniel merged commit 296b5ba into main Mar 6, 2024
29 checks passed
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.

2 participants