ansys / pygranta

PyGranta metapackage
https://grantami.docs.pyansys.com/
MIT License
0 stars 0 forks source link

Switch from swagger-codegen to kiota #87

Open Andy-Grigg opened 4 months ago

Andy-Grigg commented 4 months ago

Other Granta MI consumers of OpenAPI specs use kiota instead of swagger-codegen. kiota generates nicer Python and seems to be well supported, but there are currently issues that are blocking us making the switch:

svrooij commented 4 months ago

You can implement your own Authentication provider interface to fix the windows auth part. How does that work currently?

Sorry, I'm by no means a python developer, so I would not be able to do this myself

Andy-Grigg commented 4 months ago

You can implement your own Authentication provider interface to fix the windows auth part. How does that work currently?

@svrooij Thanks for taking the time to comment!

I believe there are some issues with the httpx backend used in Python. @da1910 knows about this more than I do, but I think there's information needed to authenticate with NTLM that isn't available within the httpx authentication interface.