fern-api / fern

Input OpenAPI. Output SDKs and Docs.
https://buildwithfern.com
Apache License 2.0
2.69k stars 151 forks source link

feat(python): Allow for Statements Above Imports #5132

Closed noanflaherty closed 1 week ago

noanflaherty commented 2 weeks ago

There are times where you want to specify certain statements above all imports in a python file. This PR adds support for this concept, and also removes the name field from python files since it's not actually used anywhere.

github-actions[bot] commented 2 weeks ago

🌿 Preview your docs: https://fern-preview-96d0f148-bfcc-47ec-8737-ae3f7fc7adf4.docs.buildwithfern.com/learn