Edit on GitHub

ecourts.entities.party

 1from dataclasses import dataclass
 2from typing import Optional
 3
 4@dataclass
 5class Party:
 6    name: str
 7    """The name of the party."""
 8
 9    advocate: Optional[str] = None
10    """The advocate representing the party, if any."""
@dataclass
class Party:
 5@dataclass
 6class Party:
 7    name: str
 8    """The name of the party."""
 9
10    advocate: Optional[str] = None
11    """The advocate representing the party, if any."""
Party(name: str, advocate: Optional[str] = None)
name: str

The name of the party.

advocate: Optional[str] = None

The advocate representing the party, if any.