Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
ycai
simbricks
Commits
4e4f0ea8
Unverified
Commit
4e4f0ea8
authored
Jan 22, 2025
by
Jakob Görgen
Browse files
symphony/client/simbricks/client/settings: added org + namespace defaults + removed runner id
parent
6ae1dc51
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
4 additions
and
4 deletions
+4
-4
symphony/client/simbricks/client/settings.py
symphony/client/simbricks/client/settings.py
+4
-4
No files found.
symphony/client/simbricks/client/settings.py
View file @
4e4f0ea8
...
...
@@ -21,7 +21,7 @@
# SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
from
functools
import
lru_cache
from
pydantic_settings
import
BaseSettings
,
SettingsConfigDict
from
pydantic_settings
import
BaseSettings
class
ClientSettings
(
BaseSettings
):
base_url
:
str
=
"https://app.simbricks.io/api"
...
...
@@ -30,10 +30,10 @@ class ClientSettings(BaseSettings):
auth_token_url
:
str
=
"https://auth.simbricks.io/realms/SimBricks/protocol/openid-connect/token"
auth_dev_url
:
str
=
"https://auth.simbricks.io/realms/SimBricks/protocol/openid-connect/auth/device"
namespace
:
str
=
"
"
runner_id
:
int
=
-
1
organization
:
str
=
"SimBricks
"
namespace
:
str
=
"Demo"
timeout_sec
:
int
=
20
@
lru_cache
def
client_settings
()
->
ClientSettings
:
return
ClientSettings
(
_env_file
=
"internal.env"
,
_env_file_encoding
=
"utf-8"
)
\ No newline at end of file
return
ClientSettings
(
_env_file
=
"simbricks-client.env"
,
_env_file_encoding
=
"utf-8"
)
\ No newline at end of file
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment