mirror of
https://git.ianrenton.com/ian/spothole.git
synced 2026-02-04 01:04:33 +00:00
11 lines
308 B
Python
11 lines
308 B
Python
from dataclasses import dataclass
|
|
|
|
# Data class that defines a Special Interest Group.
|
|
@dataclass
|
|
class SIG:
|
|
# SIG name, e.g. "POTA"
|
|
name: str
|
|
# Description, e.g. "Parks on the Air"
|
|
description: str
|
|
# Regex matcher for references, e.g. for POTA r"[A-Z]{2}\-\d+".
|
|
ref_regex: str = None |