Comments (8)
@maxdeichmann could you share your Fern configuration (e.g. the contents of generators.yml as well as the version within fern.config.json)? We should only default to this if we cannot determine the package being created
from fern.
Fern config: https://github.com/langfuse/langfuse/blob/main/fern/fern.config.json
Python Generator: https://github.com/langfuse/langfuse/blob/main/fern/apis/server/generators.yml#L13
from fern.
Thanks for looking into this!
from fern.
Ah I see! Yeah this is confusing!
Since you do local publishing and we don't control the pyproject.toml there (or the other project files), we don't know the project name and so we use "project" to try to pull it in from elsewhere, and you can always manually update it and add the file to your .fernignore
if necessary (structured similar to a .gitignore, Fern won't touch files listed there on regeneration).
I'll go ahead and remove this from local publishing!
@maxdeichmann could I ask why you're not leveraging github output mode to PR to your repo automatically? https://buildwithfern.com/learn/sdks/guides/github-bot#pull-request-mode
from fern.
@armandobelardo thanks a lot for the hint to .fernignore. Can you point me to docs on how to use it to exclude https://github.com/langfuse/langfuse-python/blob/63c0fa497dc04d295363158b0ff1be382edb3f10/langfuse/api/version.py
?
I cannot find it in the docs.
I think we do not use the github feature as it did not exist when we set up fern initially.
from fern.
It's not a well documented feature since there are some downsides! So we tend to not promote it and only suggest it when necessary
Since you're running local generation it's also a touch less relevant anyway
I've released a fix for this in version 1.1.0-rc1 here's the change: #3320
Note that if you are not on 1.0.0, there are breaking configuration changes, to continue with the existing configuration you have today, you must follow the config in the changelog: https://github.com/fern-api/fern/blob/main/generators/python/sdk/CHANGELOG.md#100---2024-04-02
from fern.
Hi, so i assume i dont have to do anything once the fix is live?
from fern.
That's correct, you can upgrade your generator now actually! It will remove the bad files, and you should be set!
from fern.
Related Issues (20)
- [Bug] Example of list not being displayed HOT 3
- Breadcrumbs or context by default with fern check HOT 1
- [Python] Support code sample generation for bytes requests
- [Feature] Investigate the scope of fixing the auto-generated Cosmos SDK OpenAPI spec HOT 1
- Updating to `0.18.1` throws error when running `fern generate --docs` HOT 1
- [Bug] Express generator fails with `Unrecognized key "whitelabel"` HOT 1
- [Feature] Python should be able to automatically cast strings to enums and throw runtime error where this is not possible HOT 1
- [Bug] Code fences show line numbers regardless of code language HOT 1
- [Bug] Manifest unknown for fern-typescript-express 0.9.7 HOT 1
- [Feature] Improve search by adding context in search results HOT 1
- [Feature] Support more detailed errors within Python generator in JSON parsing
- [Bug] Inconsistencies between Fern Definition availability and x-fern-availability extension HOT 2
- [Bug] fern-generate --docs --preview output shows production url HOT 1
- [Bug] Colon's in Meta Tags Break Formatting in Docs HOT 2
- [Bug] TypeScript generator docs list wrong latest version HOT 2
- [Bug] fernapi/fern-typescript-browser-sdk does not generate project files HOT 4
- [Bug] Using `require` to import `node-fetch` breaks when output is ESM HOT 1
- [Feature] Support OpenAPI3 "style" parameters in SDK generators HOT 1
- [Fern's Documentation] Update "Publish a Java SDK to Maven Central" Registration Process HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from fern.