Revert the docstrings generated for the workbench dynamically

created subclasses, to mention v20 instead of v21.
master
Michael Chisholm 2019-07-22 17:01:52 -04:00
parent 165d87e103
commit d69449706f
1 changed files with 1 additions and 1 deletions

View File

@ -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,