integrations.web.config module

integrations/web/config.py

class integrations.web.config.SvcConfig

Bases: BaseSection, IntegrationsConfig

WebUI用個別設定値

__init__(_parser=None, _command_dispatcher=<factory>, _keyword_dispatcher=<factory>, main_conf=None, channel_config=None, slash_command='', badge_degree=False, badge_status=False, badge_grade=False, separate=False, channel_id=None, plotting_backend='plotly', host='', port=0, require_auth=False, username='', password='', use_ssl=False, certificate='', private_key='', view_summary=True, view_graph=True, view_ranking=True, view_report=True, management_member=False, management_score=False, theme='', custom_css='')
Parameters:
  • _parser (ConfigParser | None)

  • _command_dispatcher (dict[str, Any])

  • _keyword_dispatcher (dict[str, Any])

  • main_conf (ConfigParser | None)

  • channel_config (Path | None)

  • slash_command (str)

  • badge_degree (bool)

  • badge_status (bool)

  • badge_grade (bool)

  • separate (bool)

  • channel_id (str | None)

  • plotting_backend (Literal['matplotlib', 'plotly'])

  • host (str)

  • port (int)

  • require_auth (bool)

  • username (str)

  • password (str)

  • use_ssl (bool)

  • certificate (str)

  • private_key (str)

  • view_summary (bool)

  • view_graph (bool)

  • view_ranking (bool)

  • view_report (bool)

  • management_member (bool)

  • management_score (bool)

  • theme (str)

  • custom_css (str)

Return type:

None

certificate: str = ''

サーバー証明書パス

custom_css: str = ''

ユーザー指定CSSファイル

host: str = ''

起動アドレス(未指定はコマンドライン引数デフォルト値)

management_member: bool = False

メンバー/チーム編集メニューの表示

management_score: bool = False

成績管理メニューの表示

password: str = ''

認証パスワード

plotting_backend: Literal['matplotlib', 'plotly'] = 'plotly'

グラフ描写ライブラリ

port: int = 0

起動ポート(未指定はコマンドライン引数デフォルト値)

private_key: str = ''

秘密鍵パス

require_auth: bool = False

BASIC認証を利用するか

theme: str = ''

テーマ指定

use_ssl: bool = False

HTTPSを有効にするか

username: str = ''

認証ユーザ名

view_graph: bool = True

グラフの表示

view_ranking: bool = True

ランキングの表示

view_report: bool = True

レポートの表示

view_summary: bool = True

成績サマリ/個人成績の表示