Skip to content

Commit 096eb99

Browse files
author
Joel Collins
committed
Removed default schema for built properties
1 parent 19d80ce commit 096eb99

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/labthings/views/builder.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@ def property_of(
1414
name: str = None,
1515
readonly=False,
1616
description=None,
17-
schema=fields.Field(),
17+
schema=None,
1818
semtype=None,
1919
):
2020
"""
@@ -23,7 +23,7 @@ def property_of(
2323
:param name: str: (Default value = None)
2424
:param readonly: (Default value = False) Is the property read-only?
2525
:param description: (Default value = None) Human readable description of the property
26-
:param schema: (Default value = fields.Field()) Marshmallow schema for the property
26+
:param schema: (Default value = None) Marshmallow schema for the property
2727
:type schema: :class:`labthings.fields.Field` or :class:`labthings.schema.Schema`
2828
:param semtype: (Default value = None) Optional semantic object containing schema and annotations
2929
:type semtype: :class:`labthings.semantics.Semantic`

0 commit comments

Comments
 (0)