Skip to content

Commit c3b1a55

Browse files
authored
[SYNPY-1426] Noting all final deprecations and the tickets they will be deprecated with (#1226)
* deprecate outdated methods in annotations and client - Or pointing to the Jira ticket in which they will be deprecated
1 parent 04178ad commit c3b1a55

File tree

9 files changed

+155
-6
lines changed

9 files changed

+155
-6
lines changed

docs/reference/experimental/async/folder.md

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -15,6 +15,8 @@ at your own risk.
1515
- delete_async
1616
- copy_async
1717
- sync_from_synapse_async
18+
- flatten_file_list
19+
- map_directory_to_all_contained_files
1820
- get_permissions_async
1921
- get_acl_async
2022
- set_permissions_async

docs/reference/experimental/async/project.md

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -14,6 +14,8 @@ at your own risk.
1414
- store_async
1515
- delete_async
1616
- sync_from_synapse_async
17+
- flatten_file_list
18+
- map_directory_to_all_contained_files
1719
- get_permissions_async
1820
- get_acl_async
1921
- set_permissions_async

docs/reference/experimental/sync/folder.md

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -26,6 +26,8 @@ at your own risk.
2626
- delete
2727
- copy
2828
- sync_from_synapse
29+
- flatten_file_list
30+
- map_directory_to_all_contained_files
2931
- get_permissions
3032
- get_acl
3133
- list_acl

docs/reference/experimental/sync/project.md

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -25,6 +25,8 @@ at your own risk.
2525
- store
2626
- delete
2727
- sync_from_synapse
28+
- flatten_file_list
29+
- map_directory_to_all_contained_files
2830
- get_permissions
2931
- get_acl
3032
- list_acl

synapseclient/annotations.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -288,7 +288,7 @@ def set_privacy(
288288

289289
@deprecated(
290290
version="4.9.0",
291-
reason="Use the dataclass model attributes instead. "
291+
reason="To be removed in 5.0.0. Use the dataclass model attributes instead. "
292292
"All dataclass models support annotations: File, Folder, Project, Table, EntityView, Dataset, "
293293
"DatasetCollection, MaterializedView, SubmissionView, VirtualTable. "
294294
"Access annotations directly via `instance.annotations` attribute.",

0 commit comments

Comments
 (0)