Skip to content

Commit

Permalink
feat: add ContractType.dev_messages (#51)
Browse files Browse the repository at this point in the history
  • Loading branch information
helloibis authored Nov 14, 2022
1 parent f5f0a2d commit 7203a16
Showing 1 changed file with 7 additions and 0 deletions.
7 changes: 7 additions & 0 deletions ethpm_types/contract_type.py
Original file line number Diff line number Diff line change
Expand Up @@ -400,6 +400,13 @@ class ContractType(BaseModel):
**NOTE**: This is not part of the canonical EIP-2678 spec.
"""

dev_messages: Optional[Dict[int, str]] = None
"""
A map of dev-message comments in the source contract by their starting line number.
**NOTE**: This is not part of the canonical EIP-2678 spec.
"""

userdoc: Optional[dict] = None
devdoc: Optional[dict] = None

Expand Down

0 comments on commit 7203a16

Please sign in to comment.