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
I have been generating the lib and doc with the Open API description for GHES 3.3.
All is fine except a small thing impacting pure GHES enterprise capabilities:
build_lib.py generates the metadata.py with for example
The problem is with the minus in enterprise-admin. In Python a method cannot have a minus in its name.
When I replace with enterprise_admin everything is fine and I can call the API.
Hi
I have been generating the lib and doc with the Open API description for GHES 3.3.
All is fine except a small thing impacting pure GHES enterprise capabilities:
build_lib.py
generates themetadata.py
with for examplewhich is converted in doc as
The problem is with the minus in enterprise-admin. In Python a method cannot have a minus in its name.
When I replace with enterprise_admin everything is fine and I can call the API.
Then I think a specific replacement of - by _ should be added to https://github.com/fastai/ghapi/blob/master/90_build_lib.ipynb
The text was updated successfully, but these errors were encountered: