Skip to content

Commit

Permalink
docs: add doc-strings for the doc-fields in ContractType (#130)
Browse files Browse the repository at this point in the history
  • Loading branch information
antazoey authored Jul 10, 2024
1 parent d239cb8 commit 1a6ef43
Showing 1 changed file with 9 additions and 0 deletions.
9 changes: 9 additions & 0 deletions ethpm_types/contract_type.py
Original file line number Diff line number Diff line change
Expand Up @@ -298,7 +298,16 @@ class ContractType(BaseModel):
"""

userdoc: Optional[dict] = None
"""
Documentation for the end-user, generated from NatSpecs
found in the contract source file.
"""

devdoc: Optional[dict] = None
"""
Documentation for the contract maintainers, generated from NatSpecs
found in the contract source file.
"""

def __repr__(self) -> str:
repr_id = self.__class__.__name__
Expand Down

0 comments on commit 1a6ef43

Please sign in to comment.