Revert the docstrings generated for the workbench dynamically
created subclasses, to mention v20 instead of v21.master
parent
165d87e103
commit
d69449706f
|
@ -133,7 +133,7 @@ def _setup_workbench():
|
||||||
# have undesirable side-effects, but actually it seems to work.
|
# have undesirable side-effects, but actually it seems to work.
|
||||||
# So far...
|
# So far...
|
||||||
new_class_dict = {
|
new_class_dict = {
|
||||||
'__doc__': 'Workbench wrapper around the `{0} <stix2.v21.sdo.rst#stix2.v21.sdo.{0}>`__ object. {1}'.format(obj_type.__name__, STIX_OBJ_DOCS),
|
'__doc__': 'Workbench wrapper around the `{0} <stix2.v20.sdo.rst#stix2.v20.sdo.{0}>`__ object. {1}'.format(obj_type.__name__, STIX_OBJ_DOCS),
|
||||||
'created_by': _created_by_wrapper,
|
'created_by': _created_by_wrapper,
|
||||||
'relationships': _relationships_wrapper,
|
'relationships': _relationships_wrapper,
|
||||||
'related': _related_wrapper,
|
'related': _related_wrapper,
|
||||||
|
|
Loading…
Reference in New Issue