Currently, post_file_annotation can only create a FileAnnotationattached to an existing object. This update allows for orphaned FileAnnotations too - important to create e.g. Figures.
Note; THIS CHANGES THE FUNCTION SIGNATURE. A few arguments are now optional, and need to come after positional arguments.
Checklist
Docstrings updated, new unit tests added, flake8 passing.
For reviewers
Check that the PR title is short, concise, and will make sense 1 year
later.
Check that new functions are imported in corresponding __init__.py.
Description
Currently,
post_file_annotation
can only create aFileAnnotation
attached to an existing object. This update allows for orphanedFileAnnotation
s too - important to create e.g. Figures.Note; THIS CHANGES THE FUNCTION SIGNATURE. A few arguments are now optional, and need to come after positional arguments.
Checklist
Docstrings updated, new unit tests added, flake8 passing.
For reviewers
__init__.py
.