Skip to content

Commit

Permalink
Removed default schema for built properties
Browse files Browse the repository at this point in the history
  • Loading branch information
Joel Collins committed Jul 20, 2020
1 parent 19d80ce commit 096eb99
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/labthings/views/builder.py
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ def property_of(
name: str = None,
readonly=False,
description=None,
schema=fields.Field(),
schema=None,
semtype=None,
):
"""
Expand All @@ -23,7 +23,7 @@ def property_of(
:param name: str: (Default value = None)
:param readonly: (Default value = False) Is the property read-only?
:param description: (Default value = None) Human readable description of the property
:param schema: (Default value = fields.Field()) Marshmallow schema for the property
:param schema: (Default value = None) Marshmallow schema for the property
:type schema: :class:`labthings.fields.Field` or :class:`labthings.schema.Schema`
:param semtype: (Default value = None) Optional semantic object containing schema and annotations
:type semtype: :class:`labthings.semantics.Semantic`
Expand Down

0 comments on commit 096eb99

Please sign in to comment.