def check_samples_slot(value):
    if not value:
        return 'after-docstring'
    val = directives.choice(
        value,
        ('none',              # do not include
         'before-docstring',  # show samples then docstring
         'after-docstring',   # show docstring then samples
         ))
    return val
Edit the selected metadata type.
dataset/ETHPy150Open openstack/wsme/wsmeext/sphinxext.py/check_samples_slot--crossover with--dataset/ETHPy150Open mayan-edms/mayan-edms/mayan/apps/metadata/api_views.py/APIMetadataTypeView.put