iqm.iqm_client.cli.models.ConfigFile

iqm.iqm_client.cli.models.ConfigFile#

class iqm.iqm_client.cli.models.ConfigFile(*, auth_server_url: AnyUrl, realm: str, client_id: str, username: str | None = None, tokens_file: Path)#

Bases: BaseModel

Model of configuration file, used for validating JSON.

Attributes

model_config

Configuration for the model, should be a dictionary conforming to [ConfigDict][pydantic.config.ConfigDict].

auth_server_url

realm

client_id

username

tokens_file

Methods

Parameters:
  • auth_server_url (AnyUrl) –

  • realm (str) –

  • client_id (str) –

  • username (str | None) –

  • tokens_file (Path) –

model_config: ClassVar[ConfigDict] = {}#

Configuration for the model, should be a dictionary conforming to [ConfigDict][pydantic.config.ConfigDict].