Skip to content

Commit 43c477f

Browse files
stainless-app[bot]stainless-bot
authored andcommitted
chore(api): improve descriptions (#341)
1 parent 71fca9d commit 43c477f

File tree

2 files changed

+10
-19
lines changed

2 files changed

+10
-19
lines changed

src/finch/types/introspection.py

+2-3
Original file line numberDiff line numberDiff line change
@@ -39,9 +39,8 @@ class Introspection(BaseModel):
3939
connection_type: Literal["provider", "finch"]
4040
"""The type of the connection associated with the token.
4141
42-
`provider` - connection to an external provider
43-
44-
`finch` - finch-generated data.
42+
- `provider` - connection to an external provider
43+
- `finch` - finch-generated data.
4544
"""
4645

4746
manual: bool

src/finch/types/shared/operation_support_matrix.py

+8-16
Original file line numberDiff line numberDiff line change
@@ -10,53 +10,45 @@
1010

1111
class OperationSupportMatrix(BaseModel):
1212
create: Optional[OperationSupport] = None
13-
"""- `supported`: This operation is supported by both the provider and Finch
14-
13+
"""
14+
- `supported`: This operation is supported by both the provider and Finch
1515
- `not_supported_by_finch`: This operation is not supported by Finch but
1616
supported by the provider
17-
1817
- `not_supported_by_provider`: This operation is not supported by the provider,
1918
so Finch cannot support
20-
2119
- `client_access_only`: This behavior is supported by the provider, but only
2220
available to the client and not to Finch
2321
"""
2422

2523
delete: Optional[OperationSupport] = None
26-
"""- `supported`: This operation is supported by both the provider and Finch
27-
24+
"""
25+
- `supported`: This operation is supported by both the provider and Finch
2826
- `not_supported_by_finch`: This operation is not supported by Finch but
2927
supported by the provider
30-
3128
- `not_supported_by_provider`: This operation is not supported by the provider,
3229
so Finch cannot support
33-
3430
- `client_access_only`: This behavior is supported by the provider, but only
3531
available to the client and not to Finch
3632
"""
3733

3834
read: Optional[OperationSupport] = None
39-
"""- `supported`: This operation is supported by both the provider and Finch
40-
35+
"""
36+
- `supported`: This operation is supported by both the provider and Finch
4137
- `not_supported_by_finch`: This operation is not supported by Finch but
4238
supported by the provider
43-
4439
- `not_supported_by_provider`: This operation is not supported by the provider,
4540
so Finch cannot support
46-
4741
- `client_access_only`: This behavior is supported by the provider, but only
4842
available to the client and not to Finch
4943
"""
5044

5145
update: Optional[OperationSupport] = None
52-
"""- `supported`: This operation is supported by both the provider and Finch
53-
46+
"""
47+
- `supported`: This operation is supported by both the provider and Finch
5448
- `not_supported_by_finch`: This operation is not supported by Finch but
5549
supported by the provider
56-
5750
- `not_supported_by_provider`: This operation is not supported by the provider,
5851
so Finch cannot support
59-
6052
- `client_access_only`: This behavior is supported by the provider, but only
6153
available to the client and not to Finch
6254
"""

0 commit comments

Comments
 (0)