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

Yaml converter - first iteration #56

Merged
merged 30 commits into from
Dec 20, 2024
Merged

Conversation

killian-scalian
Copy link
Collaborator

  • Add skeleton
  • Area validation check
    -Add unitary test for area check

@killian-scalian killian-scalian marked this pull request as draft December 17, 2024 15:47
@killian-scalian killian-scalian self-assigned this Dec 17, 2024
src/andromede/input_converter/src/utils.py Outdated Show resolved Hide resolved
src/andromede/input_converter/src/utils.py Outdated Show resolved Hide resolved
src/andromede/input_converter/src/utils.py Outdated Show resolved Hide resolved
src/andromede/input_converter/src/main.py Outdated Show resolved Hide resolved
src/andromede/input_converter/src/utils.py Outdated Show resolved Hide resolved
tests/input_converter/test_converter.py Outdated Show resolved Hide resolved
requirements.in Outdated
PyYAML~=6.0.1
pydantic
antares_craft>0.1.2
requests
Copy link
Contributor

Choose a reason for hiding this comment

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

requests nécessaire ?

return [InputComponent(id=area.id, model="area") for area in areas]


def convert_renewable_to_components(area: Area) -> list[InputComponent]:
Copy link
Contributor

Choose a reason for hiding this comment

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

to_component_list

@tbittar tbittar marked this pull request as ready for review December 20, 2024 10:37
@tbittar tbittar merged commit a087f12 into main Dec 20, 2024
2 checks passed
@tbittar tbittar deleted the contrib_convert_area_to_yaml branch December 20, 2024 11:52
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