hcoopmeetbotlogic.location

Location logic.

Module Contents

hcoopmeetbotlogic.location.RAW_LOG_EXTENSION = '.log.json'
hcoopmeetbotlogic.location.HTML_LOG_EXTENSION = '.log.html'
hcoopmeetbotlogic.location.HTML_MINUTES_EXTENSION = '.html'
class hcoopmeetbotlogic.location.Location

Path and URL for some persisted data.

path: str
url: str
class hcoopmeetbotlogic.location.Locations

Locations where meeting results were written.

raw_log: Location
formatted_log: Location
formatted_minutes: Location
hcoopmeetbotlogic.location.derive_prefix(raw_log_path: str) str

Derive the prefix associated with a raw log path, for use when regenerating output.

hcoopmeetbotlogic.location.derive_locations(config: hcoopmeetbotlogic.config.Config, meeting: hcoopmeetbotlogic.meeting.Meeting, prefix: str | None = None, output_dir: str | None = None) Locations

Derive the locations where meeting files will be written.

Use prefix and output_dir to override the file prefix and output log directory that would normally be generated based on configuration.