You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Tell openapi-python-client update to not change certain folders/packages #640
I'd like to have an option where update will ignore the util folder.
I've considered somehow bundling the util folder outside of the package, but I really want something where it's straightforward to distribute some higher level code built on top of the really nice generated code.
Activity
adelevie commentedon Jun 29, 2022
Looks like this line could be replaced https://github.com/openapi-generators/openapi-python-client/blob/main/openapi_python_client/__init__.py#L130 with something that either:
explicitly only deletes known folder names (e.g. only
modelsand onlyapi), ORdeletes everything except some allow-listed folder names
adelevie commentedon Jun 30, 2022
here's a short proof of concept:
#641
dbanty commentedon Jul 2, 2022
Related to #454 I think
adelevie commentedon Jul 2, 2022
Absolutely related, thanks for pointing out.
Happy to try and take my proof concept across the finish line, but also not sure what the desired developer experience is.
I do like the "ignore" terminology in #454, for what it's worth.