nvflare.dashboard.application.models module¶
- class Capacity(**kwargs)[source]¶
Bases:
ModelA simple constructor that allows initialization from kwargs.
Sets attributes on the constructed instance using the names and values in
kwargs.Only keys that are present as attributes of the instance’s class are allowed. These could be, for example, any mapped columns or relationships.
- capacity¶
- created_at¶
- id¶
- updated_at¶
- class Client(**kwargs)[source]¶
Bases:
CommonMixin,ModelA simple constructor that allows initialization from kwargs.
Sets attributes on the constructed instance using the names and values in
kwargs.Only keys that are present as attributes of the instance’s class are allowed. These could be, for example, any mapped columns or relationships.
- approval_state¶
- capacity¶
- capacity_id¶
- created_at¶
- creator_id¶
- description¶
- download_count¶
- id¶
- name¶
- organization¶
- organization_id¶
- updated_at¶
- class CommonMixin[source]¶
Bases:
object- created_at = Column(None, DateTime(), table=None, nullable=False, default=ColumnDefault(<function datetime.utcnow>))¶
- description = Column(None, String(length=512), table=None, default=ColumnDefault(''))¶
- id = Column(None, Integer(), table=None, primary_key=True, nullable=False)¶
- name = Column(None, String(length=512), table=None, default=ColumnDefault(''))¶
- updated_at = Column(None, DateTime(), table=None, onupdate=ColumnDefault(<function datetime.utcnow>), default=ColumnDefault(<function datetime.utcnow>))¶
- class Organization(**kwargs)[source]¶
Bases:
CommonMixin,ModelA simple constructor that allows initialization from kwargs.
Sets attributes on the constructed instance using the names and values in
kwargs.Only keys that are present as attributes of the instance’s class are allowed. These could be, for example, any mapped columns or relationships.
- clients¶
- created_at¶
- description¶
- id¶
- name¶
- updated_at¶
- users¶
- class Project(**kwargs)[source]¶
Bases:
ModelA simple constructor that allows initialization from kwargs.
Sets attributes on the constructed instance using the names and values in
kwargs.Only keys that are present as attributes of the instance’s class are allowed. These could be, for example, any mapped columns or relationships.
- app_location¶
- description¶
- end_date¶
- frozen¶
- ha_mode¶
- id¶
- overseer¶
- public¶
- root_cert¶
- root_key¶
- server1¶
- server2¶
- short_name¶
- starting_date¶
- title¶
- class Role(**kwargs)[source]¶
Bases:
CommonMixin,ModelA simple constructor that allows initialization from kwargs.
Sets attributes on the constructed instance using the names and values in
kwargs.Only keys that are present as attributes of the instance’s class are allowed. These could be, for example, any mapped columns or relationships.
- created_at¶
- description¶
- id¶
- name¶
- updated_at¶
- users¶
- class User(**kwargs)[source]¶
Bases:
CommonMixin,ModelA simple constructor that allows initialization from kwargs.
Sets attributes on the constructed instance using the names and values in
kwargs.Only keys that are present as attributes of the instance’s class are allowed. These could be, for example, any mapped columns or relationships.
- approval_state¶
- created_at¶
- description¶
- download_count¶
- email¶
- id¶
- name¶
- organization¶
- organization_id¶
- password_hash¶
- role¶
- role_id¶
- updated_at¶