client.settings ¶
Classes:
| Name | Description |
|---|---|
Settings | Client settings. |
Classes¶
Settings ¶
Client settings.
- API Reference
clientclient AttributesSettings
Attributes:
| Name | Type | Description |
|---|---|---|
COMMUNICATION_MODULE | str | Communication module of the client. Default: |
FL_DEMONSTRATOR_BASE_URL | str | Base URL of the FL Demonstrator server. Default: |
FL_DEMONSTRATOR_TRAINING_SCRIPT_EXECUTOR | str | Path to the script executor. Default: |
FL_DEMONSTRATOR_TRAINING_SCRIPT_PATH | str | Path to the training script. Default: |
FL_DEMONSTRATOR_TRAINING_WORKING_DIRETORY | str | Working directory for the training script. Default: |
MAIN_MODULE | str | Main entry point of the client server. Default: |
SERVER_HOST | str | Client server hostname. Default: |
SERVER_PORT | int | Client server port. Default: |
Source code in dlr/fl/client/settings.py
Attributes¶
COMMUNICATION_MODULE class-attribute instance-attribute ¶
COMMUNICATION_MODULE: str = 'dlr.fl.client.communication.Communication'
Communication module of the client. Default: dlr.fl.client.communication.Communication
FL_DEMONSTRATOR_BASE_URL class-attribute instance-attribute ¶
FL_DEMONSTRATOR_BASE_URL: str = get('FL_DEMONSTRATOR_BASE_URL', 'http://localhost:8000')
Base URL of the FL Demonstrator server. Default: http://localhost:8000
FL_DEMONSTRATOR_TRAINING_SCRIPT_EXECUTOR class-attribute instance-attribute ¶
FL_DEMONSTRATOR_TRAINING_SCRIPT_EXECUTOR: str = get('FL_DEMONSTRATOR_TRAINING_SCRIPT_EXECUTOR', 'python')
Path to the script executor. Default: python
FL_DEMONSTRATOR_TRAINING_SCRIPT_PATH class-attribute instance-attribute ¶
FL_DEMONSTRATOR_TRAINING_SCRIPT_PATH: str = get('FL_DEMONSTRATOR_TRAINING_SCRIPT_PATH', 'src/main.py')
Path to the training script. Default: src/main.py
FL_DEMONSTRATOR_TRAINING_WORKING_DIRETORY class-attribute instance-attribute ¶
FL_DEMONSTRATOR_TRAINING_WORKING_DIRETORY: str = get('FL_DEMONSTRATOR_TRAINING_WORKING_DIRETORY', '.')
Working directory for the training script. Default: .
MAIN_MODULE class-attribute instance-attribute ¶
MAIN_MODULE: str = 'dlr.fl.client.__main__.default_main'
Main entry point of the client server. Default: dlr.fl.client.__main__.default_main