Skip to content

Commit

Permalink
docs: remove unnecessary type-ignores
Browse files Browse the repository at this point in the history
Signed-off-by: Jan Kowalleck <jan.kowalleck@gmail.com>
  • Loading branch information
jkowalleck committed Oct 2, 2023
1 parent 0499b59 commit 26c561d
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions docs/customising-structure.rst
Expand Up @@ -209,7 +209,7 @@ For example:

.. code-block:: python
@property[misc]
@property
@serializable.view(SchemaVersion1)
def address(self) -> Optional[str]:
return self._address
Expand All @@ -222,7 +222,7 @@ Further to the above, you can vary the ``None`` value per View as follows:

.. code-block:: python
@property[misc]
@property
@serializable.include_none(SchemaVersion2)
@serializable.include_none(SchemaVersion3, "RUBBISH")
def email(self) -> Optional[str]:
Expand Down

0 comments on commit 26c561d

Please sign in to comment.