Source code for arxiv.submission.domain.meta
"""Metadata objects in support of submissions."""
from typing import Optional, List
from arxiv.taxonomy import Category
from dataclasses import dataclass, asdict, field
[docs]@dataclass
class Classification:
"""A classification for a :class:`.domain.submission.Submission`."""
category: Category
[docs]@dataclass
class License:
"""An license for distribution of the submission."""
uri: str
name: Optional[str] = None