Replies: 3 comments 5 replies
|
Greetings! I actually use them in some modules that have a simple logic and only need to perform one call, so we do not have to deal with opening and closing the session. You are right that it can basically be replaced by the session-based one. I refactored the This removes the duplicate logic. |
2 replies
|
Note: We could also implement a context manager for the session-class so it auto-closes. |
2 replies
|
Btw. I also found |
1 reply
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
Is there a reason for both of those to exist? Is it legacy code? @ansibleguy
I am working on a pull request, where I need to do some work in the api client. I wonder if we could just replace the both
single_getandsingle_postby itsSession::getandSession::postalternative?All reactions