Skip to content

Fix parameters order in POST requests#31

Merged
jbienkowski merged 2 commits into
masterfrom
fix-29
Mar 11, 2024
Merged

Fix parameters order in POST requests#31
jbienkowski merged 2 commits into
masterfrom
fix-29

Conversation

@jschaeff
Copy link
Copy Markdown
Contributor

@jschaeff jschaeff commented Mar 8, 2024

This fix has been tested in Resif environment.

Please someone check if it works against the #29 issue.

jschaeff added 2 commits March 8, 2024 11:07
Sorry about the lack of unit tests in this project.

Tested and validated at Résif.
@jschaeff
Copy link
Copy Markdown
Contributor Author

This fix has been deployed at RESIF and is working fine.

a10y is now able to list restricted network's availability.

@jbienkowski could you test on your side and apply the PR ?

@jschaeff jschaeff requested a review from jbienkowski March 11, 2024 08:54
@jbienkowski jbienkowski merged commit 4fe4af5 into master Mar 11, 2024
Copy link
Copy Markdown
Contributor

@sheimers sheimers left a comment

Choose a reason for hiding this comment

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

It fails here, from the log:

post_params = [(k for k in Parameters().todict() if k not in exclude]
                                                                        ^
SyntaxError: closing parenthesis ']' does not match opening parenthesis '('

Obviously there is an orphaned '(' left. Should it be removed, or re-added after 'exclude'?

@jschaeff
Copy link
Copy Markdown
Contributor Author

This is horrible. I'm so sorry.
This code should have at least some tests and integration runs ...

@jschaeff
Copy link
Copy Markdown
Contributor Author

I fixed it and merge in master.
I can not test locally because we run another availability code.

@sheimers
Copy link
Copy Markdown
Contributor

Thanks for the fast fix.

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.

3 participants