Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
8 changes: 4 additions & 4 deletions fern/products/sdks/overview/python/configuration.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ groups:
- name: fernapi/fern-python
version: <Markdown src="/snippets/version-number-python.mdx"/>
config:
package-name: "your_package"
package_name: "your_package"
client:
class_name: "YourClient"
additional_init_exports:
Expand Down Expand Up @@ -117,12 +117,12 @@ When enabled, generates utility methods for working with union types, including
Set to `false` to restore eager loading behavior.
</ParamField>

<ParamField path="package-name" type="string" default="null" required={false} toc={true}>
<ParamField path="package_name" type="string" default="null" required={false} toc={true}>

Specifies the Python package name that users will import your generated client
from.

For example, setting `package-name: "my_custom_package"` enables users to use
For example, setting `package_name: "my_custom_package"` enables users to use
`my_custom_package import Client` to import your client.

</ParamField>
Expand Down Expand Up @@ -275,7 +275,7 @@ config:
Enable ORM mode for Pydantic models to work with ORMs like SQLAlchemy.
</ParamField>

<ParamField path="package-name" type="string" required={false} toc={true}>
<ParamField path="package_name" type="string" required={false} toc={true}>
Custom package name for the generated models.
</ParamField>

Expand Down
2 changes: 1 addition & 1 deletion fern/products/sdks/overview/python/publishing-to-pypi.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -308,4 +308,4 @@ Set up a CI workflow that you can manually trigger from the GitHub UI. In your r

</Steps>
</Accordion>
</AccordionGroup>
</AccordionGroup>
4 changes: 2 additions & 2 deletions fern/products/sdks/snippets/readme-options.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -94,7 +94,7 @@ Define a custom section in the generated README for a specific SDK.
| Language | Variable | Description |
|----------|----------|-------------|
| TypeScript | `packageName` | Name of your package, as specified in the [`package-name` field](/sdks/generators/typescript/configuration#package-name) |
| Python | `packageName` | Name of your package, as specified in the [`package-name` field](/sdks/generators/python/configuration#package-name) |
| Python | `packageName` | Name of your package, as specified in the [`package_name` field](/sdks/generators/python/configuration#package_name) |
| Go | `owner` | The owner of your Go module |
| Go | `repo` | The [repository](/sdks/generators/go/publishing#configure-output-location) where your Go module is published |
| Go | `version` | SDK version |
Expand All @@ -109,4 +109,4 @@ Define a custom section in the generated README for a specific SDK.

</ParamField>
</Accordion>
</AccordionGroup>
</AccordionGroup>