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

automatically create clubs from a csv file wowies #252

Closed
wants to merge 0 commits into from

Conversation

pinwheeeel
Copy link
Contributor

#247

usage:
poetry run python ./manage.py add_clubs ./path_to_csv_file

"SOCIAL LINKS"
]

assert np.array_equal(header, next(csv_reader)), "CSV layout changed since the last time the script was updated"
Copy link
Member

Choose a reason for hiding this comment

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

why use numpy and not just == ?

Copy link
Contributor Author

Choose a reason for hiding this comment

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

didnt know python can do that

@JasonLovesDoggo
Copy link
Member

JasonLovesDoggo commented Feb 5, 2024 via email

@JasonLovesDoggo
Copy link
Member

Sorry to ask but could you just modify the input to either accept a flag that allows it to fetch it from URL or just change the logic to that?

@pinwheeeel
Copy link
Contributor Author

Oh okay, will work on it sometime later

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