File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -96,11 +96,6 @@ def backend_key(self) -> str:
9696 @property
9797 def doc (self ) -> str :
9898 """Return the field documentation string."""
99- warn_deprecation (
100- '`QbField.doc` is deprecated. Inspect the corresponding ORM model field description instead.' ,
101- version = 3 ,
102- stacklevel = 2 ,
103- )
10499 return self ._doc
105100
106101 @property
Original file line number Diff line number Diff line change @@ -61,8 +61,6 @@ class AttributesModel(orm.Data.AttributesModel):
6161 node = NewNode ()
6262
6363 assert 'key1' in node .fields
64- with pytest .warns (AiidaDeprecationWarning , match = 'QbField.doc' ):
65- assert node .fields .key1 .doc == ''
6664 assert node .fields .key1 .dtype is str
6765 with pytest .warns (AiidaDeprecationWarning , match = 'QbField.annotation' ):
6866 assert node .fields .key1 .annotation is str
You can’t perform that action at this time.
0 commit comments