File: common.py

package info (click to toggle)
python-fingerprints 1.3.1-1
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid
  • size: 920 kB
  • sloc: python: 1,290; makefile: 17
file content (13 lines) | stat: -rw-r--r-- 234 bytes parent folder | download | duplicates (3)
1
2
3
4
5
6
7
8
9
10
11
12
13
import os
from typing import TypedDict, List

TYPES_PATH = os.path.join(os.path.dirname(__file__), "types.yml")


class TypeEntry(TypedDict):
    main: str
    forms: List[str]


class TypesList(TypedDict):
    types: List[TypeEntry]