@@ -49,22 +49,6 @@ class Configuration(BaseSettings):
49
49
host_url : AnyUrl = Field (
50
50
..., description = "Url of the DSMS instance to connect."
51
51
)
52
- request_timeout : int = Field (
53
- 120 ,
54
- description = "Timeout in seconds until the request to the DSMS is timed out." ,
55
- )
56
-
57
- ssl_verify : bool = Field (
58
- True ,
59
- description = "Whether the SSL of the DSMS shall be verified during connection." ,
60
- )
61
-
62
- strict_validation : bool = Field (
63
- True ,
64
- description = """Whether the validation of custom properties shall be strict.
65
- Disabling this might be helpful when e.g. the schema of a KType has been changed
66
- and the custom properties are not compatible anymore and should be updated accordingly.""" ,
67
- )
68
52
69
53
username : Optional [SecretStr ] = Field (
70
54
None ,
@@ -102,17 +86,28 @@ class Configuration(BaseSettings):
102
86
validation_alias = AliasChoices ("DSMS_REALM" , "KEYCLOAK_REALM_NAME" ),
103
87
)
104
88
105
- loglevel : Optional [Union [Loglevel , str ]] = Field (
106
- None ,
107
- description = "Set level of logging messages" ,
108
- alias = AliasChoices ("loglevel" , "log_level" ),
109
- )
110
-
111
89
token : Optional [SecretStr ] = Field (
112
90
None ,
113
91
description = "JWT bearer token for connecting to the DSMS instance" ,
114
92
)
115
93
94
+ request_timeout : int = Field (
95
+ 120 ,
96
+ description = "Timeout in seconds until the request to the DSMS is timed out." ,
97
+ )
98
+
99
+ ssl_verify : bool = Field (
100
+ True ,
101
+ description = "Whether the SSL of the DSMS shall be verified during connection." ,
102
+ )
103
+
104
+ strict_validation : bool = Field (
105
+ True ,
106
+ description = """Whether the validation of custom properties shall be strict.
107
+ Disabling this might be helpful when e.g. the schema of a KType has been changed
108
+ and the custom properties are not compatible anymore and should be updated accordingly.""" ,
109
+ )
110
+
116
111
enable_auto_reauth : bool = Field (
117
112
True ,
118
113
description = """Whether to automatically reauthenticate with username and password
@@ -178,6 +173,12 @@ class Configuration(BaseSettings):
178
173
description = "Repository of the triplestore for KItems in the DSMS" ,
179
174
)
180
175
176
+ loglevel : Optional [Union [Loglevel , str ]] = Field (
177
+ None ,
178
+ description = "Set level of logging messages" ,
179
+ alias = AliasChoices ("loglevel" , "log_level" ),
180
+ )
181
+
181
182
qudt_units : AnyUrl = Field (
182
183
"http://qudt.org/2.1/vocab/unit" ,
183
184
description = "URI to QUDT Unit ontology for unit conversion" ,
0 commit comments