@@ -25,7 +25,7 @@ class ManagedAuthentication(BaseModel):
25
25
arbitrary_types_allowed = True ,
26
26
frozen = True ,
27
27
)
28
- enabled : Optional [bool ] = Field (None , example = False )
28
+ enabled : Optional [bool ] = Field (None , examples = [ False ] )
29
29
30
30
31
31
class Aws (BaseModel ):
@@ -44,8 +44,8 @@ class ManagedAuthentication1(BaseModel):
44
44
frozen = True ,
45
45
)
46
46
client_id : Optional [str ] = None
47
- enabled : Optional [bool ] = Field (None , example = False )
48
- identity_scope : Optional [str ] = Field (None , example = 'https://ossrdbms-aad.database.windows.net/.default' )
47
+ enabled : Optional [bool ] = Field (None , examples = [ False ] )
48
+ identity_scope : Optional [str ] = Field (None , examples = [ 'https://ossrdbms-aad.database.windows.net/.default' ] )
49
49
50
50
51
51
class Azure (BaseModel ):
@@ -176,7 +176,7 @@ class QuerySamples(BaseModel):
176
176
seen_samples_cache_maxsize : Optional [int ] = None
177
177
178
178
179
- class Relation (BaseModel ):
179
+ class Relations (BaseModel ):
180
180
model_config = ConfigDict (
181
181
arbitrary_types_allowed = True ,
182
182
frozen = True ,
@@ -238,7 +238,7 @@ class InstanceConfig(BaseModel):
238
238
query_metrics : Optional [QueryMetrics ] = None
239
239
query_samples : Optional [QuerySamples ] = None
240
240
query_timeout : Optional [int ] = None
241
- relations : Optional [tuple [Union [str , Relation ], ...]] = None
241
+ relations : Optional [tuple [Union [str , Relations ], ...]] = None
242
242
reported_hostname : Optional [str ] = None
243
243
service : Optional [str ] = None
244
244
ssl : Optional [str ] = None
0 commit comments