docs: minor model refectoring

pull/9377/head
Daniel Mensinger 3 years ago
parent 29c2b44a29
commit f06cdf0606
No known key found for this signature in database
GPG Key ID: 54DD94C131E277D4
  1. 8
      docs/refman/model.py

@ -44,20 +44,20 @@ class Type:
# Arguments
@dataclass
class ArgBase(NamedObject):
class ArgBase(NamedObject, FetureCheck):
type: Type
@dataclass
class PosArg(ArgBase, FetureCheck):
class PosArg(ArgBase):
default: str
@dataclass
class VarArgs(ArgBase, FetureCheck):
class VarArgs(ArgBase):
min_varargs: int
max_varargs: int
@dataclass
class Kwarg(ArgBase, FetureCheck):
class Kwarg(ArgBase):
required: bool
default: str

Loading…
Cancel
Save