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

Use requests.request instead of getting attrs to make requests #118

Merged

Conversation

JacksonChen666
Copy link
Collaborator

Getting attributes is kind of hacky and not really that readable (or easily understood), so requests.request was used because it accepts HTTP methods.

(yeah I left the commit hanging around for a good few days)

@JacksonChen666 JacksonChen666 marked this pull request as draft August 5, 2023 07:52
getting attributes is kind of hacky and not really that readable (or
easily understood), so requests.request was used because it accepts
http methods
@JacksonChen666
Copy link
Collaborator Author

I do not understand why flake8 is failing. It's not on my side.

@JacksonChen666 JacksonChen666 marked this pull request as ready for review August 5, 2023 07:54
@JOJ0
Copy link
Owner

JOJ0 commented Aug 5, 2023

@JacksonChen666 please pull --rebase from master, it will fix your flake8 issue. 👍

@JacksonChen666
Copy link
Collaborator Author

already rebased

@JOJ0
Copy link
Owner

JOJ0 commented Aug 5, 2023

I triggered a rerun with debug loggin enabled of the linter gh-actions thing. let's see...

@JOJ0
Copy link
Owner

JOJ0 commented Aug 6, 2023

Still same error. It's odd since it points to exactly those lines I fixed recently.

My suggestion would be: Go ahead and merge it.

I loosely assume this is some caching issue w gh-actions or the like.

If it happens in master again I'll look into it.

@JacksonChen666 JacksonChen666 merged commit 3f1cc94 into JOJ0:master Aug 6, 2023
1 check failed
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