Skip to content

Commit 190ed88

Browse files
fix(python-sdk): updated docs for pyproject_toml flag
1 parent 44f19a1 commit 190ed88

File tree

1 file changed

+12
-1
lines changed

1 file changed

+12
-1
lines changed

fern/products/sdks/overview/python/configuration.mdx

Lines changed: 12 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -133,7 +133,18 @@ groups:
133133
</ParamField>
134134

135135
<ParamField path="pyproject_toml" type="string" default="null" required={false} toc={true}>
136-
Path to a custom `pyproject.toml` template file to use instead of the default generated one.
136+
Allow specifying arbitrary configuration to your packages `pyproject.toml` by adding a `pyproject_toml` block to your configuration
137+
whatever you include in this block will be added as-is to the `pyproject.toml` file. The config, as an example is:
138+
```yaml
139+
config:
140+
pyproject_toml: |
141+
[tool.covcheck.group.unit.coverage]
142+
branch = 26.0
143+
line = 62.0
144+
[tool.covcheck.group.service.coverage]
145+
branch = 30.0
146+
line = 67.0
147+
```
137148
</ParamField>
138149

139150
<ParamField path="should_generate_websocket_clients" type="bool" default="false" required={false} toc={true}>

0 commit comments

Comments
 (0)