[18.0][REF] webservice: split core to webservice_core - #164
Conversation
simahawk
commented
Sep 15, 2026
- leave component dependency and oauth implementation into webservice
- define new handler mechanism (similar to endpoint)
- move request handling to a mixin that can be reusable
- add some documentation (!!!)
|
Hi @etobella, |
99b6ed2 to
9072116
Compare
Ricardoalso
left a comment
There was a problem hiding this comment.
LGTM in the overall
Some open points I found
There was a problem hiding this comment.
Like discussed, it would be great to incorporate the content_only flag mentioned in #142 into this mixin.
Keeping the request.content as the default (even if it isn't respecting the Request documentation)
All of Requests’ functionality can be accessed by these 7 methods. They all return an instance of the Response object.
https://requests.readthedocs.io/en/latest/api/#main-interface
but at least it would be configurable in the GUI and we avoid breaking things (FIX proposal done in #144)
There was a problem hiding this comment.
I'll tackle this in a second PR to ease review.
9072116 to
e46a8a5
Compare
webservice_core: improve tech_name * go to mixin to be reusable * auto-generate it and auto-clean it
04494ff to
da8a036
Compare
|
@Ricardoalso all comments addressed |
|
FTR I've bumped webservice version manually to 2.0.0 |
|
/ocabot merge nobump |
|
This PR looks fantastic, let's merge it! |
|
@simahawk The merge process could not be finalized, because command |
|
@OCA/pypi-support can you pls register |
|
/ocabot merge nobump |
|
This PR looks fantastic, let's merge it! |
|
Congratulations, your PR was merged at 9da7e37. Thanks a lot for contributing to OCA. ❤️ |