-
Notifications
You must be signed in to change notification settings - Fork 4
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
async request and file writes #11
Conversation
Hey, thanks so much for the proposal! As you mentioned in #10 there's quite a lot here that's out of the scope of the PR. Let me go through it a bit. I think the easiest thing will be to split this up into several smaller PRs, and then address issues in each one separately. |
I'll create a new PR with with only what is needed for using |
raise_for_status==False
Hi John, Before I close this PR I would like to know what else would you be interested on bringing over. I can prepare separate PRs for the following topics/issues
Cheers, |
I see you've started on 2. already, that's perfect. As for the others: I am all in favour (in individual PRs 😅) except for 4. The classes really only exist as a kind of namespacing for the functions anyway (+ applying fixtures en masse), I think removing them will make the tests less readable. Thoughts? I've actually moved the CI to GitHub actions and am working on adding Really nice that you are cleaning things up around here btw - what are you using the package for? |
4.- came as a work around my inability to run individual tests inside the classes (my problem, not the test suite). Since then I found how to do it. However, IMO modules are better namespaces than classes.
👍🏼
Nothing productive yet. At work we retrieve the current year of observations every night on with a bash script + GNU parallel. Do you think that any of that would make sense here as extras? |
I'm in two minds about this. For libraries I totally agree, but for tests I find it easiest to parse if the test package file structure matches the library file structure, and then all the tests for one class/function are grouped in classes. I'm open to being convinced otherwise though 😉
I'm certainly interested in expanding to a CLI, I was looking at tiangolo/typer for that actually. Additional file formats is also a good idea. I'm not familiar with intake or DuckDB though, I'd need to take a look! |
aiofiles
to write filestox
isort
format checkermypy
type checker