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

fix(ETL): Les départements et régions vides sont mal gérés #4935

Conversation

qloridant
Copy link
Collaborator

No description provided.

@qloridant qloridant linked an issue Jan 17, 2025 that may be closed by this pull request
@qloridant qloridant marked this pull request as ready for review January 17, 2025 16:12
@@ -2,7 +2,8 @@


def get_lib_department_from_code(department: str) -> str:
Copy link
Member

Choose a reason for hiding this comment

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

Suggested change
def get_lib_department_from_code(department: str) -> str:
def get_lib_department_from_code(department: str) -> str | None:

du coup ?
ou rajouter un return par défaut genre return "" si on veut que ca soit un str ?

Copy link
Collaborator Author

Choose a reason for hiding this comment

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

J'ai pris la première option !

@qloridant qloridant merged commit fe3793c into staging Jan 24, 2025
8 of 9 checks passed
@qloridant qloridant deleted the 4933-fixetl-les-départements-et-régions-vides-sont-mal-gérés branch January 24, 2025 10:09
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.

fix(ETL): Les départements et régions vides sont mal gérés
2 participants