Skip to content

Commit

Permalink
docs: Fix sample tags in retention policy documentation (#778)
Browse files Browse the repository at this point in the history
  • Loading branch information
arjankowski committed Dec 21, 2022
1 parent 4b8a6b0 commit 8d218c3
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
4 changes: 2 additions & 2 deletions docs/usage/retention_policy.md
Original file line number Diff line number Diff line change
Expand Up @@ -201,7 +201,7 @@ call [`retention_policy_assignment.get_files_under_retention(limit=None, marker=
This method will return a `MarkerBasedObjectCollection` that allows you to iterate over the [`File`][file_class]
objects in the collection.

<!-- sample get-files-under-retention-for-an-assignment -->
<!-- sample get_retention_policy_assignments_id_files_under_retention -->
```python
retention_policy_assignment = client.retention_policy_assignment(assignment_id='12345').get()
files_under_retention = retention_policy_assignment.get_files_under_retention()
Expand All @@ -221,7 +221,7 @@ call [`retention_policy_assignment.get_file_versions_under_retention(limit=None,
This method will return a `MarkerBasedObjectCollection` that allows you to iterate over the [`FileVersion`][file_version_class]
objects in the collection.

<!-- sample get-file-versions-under-retention-for-an-assignment -->
<!-- sample get_retention_policy_assignments_id_file_versions_under_retention -->
```python
retention_policy_assignment = client.retention_policy_assignment(assignment_id='12345').get()
file_versions_under_retention = retention_policy_assignment.get_file_versions_under_retention()
Expand Down
1 change: 1 addition & 0 deletions docs/usage/search.md
Original file line number Diff line number Diff line change
Expand Up @@ -74,6 +74,7 @@ To search using SQL-like syntax to return items that match specific metadata, ca

By default, this method returns only the most basic info about the items for which the query matches. To get additional fields for each item, including any of the metadata, use the fields parameter.

<!-- sample post_metadata_queries_execute_read -->
```python
from_template = 'enterprise_12345.someTemplate'
ancestor_folder_id = '5555'
Expand Down

0 comments on commit 8d218c3

Please sign in to comment.