Skip to content

Commit bab9fe8

Browse files
Updated Python SDK: v5.0.7
1 parent eb1d034 commit bab9fe8

88 files changed

Lines changed: 478 additions & 478 deletions

File tree

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

README.md

Lines changed: 193 additions & 193 deletions
Large diffs are not rendered by default.

asana/api/allocations_api.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -463,7 +463,7 @@ def get_allocations(self, opts, **kwargs): # noqa: E501
463463
:param str assignee: Globally unique identifier for the user the allocation is assigned to.
464464
:param str workspace: Globally unique identifier for the workspace.
465465
:param int limit: Results per page. The number of objects to return per page. The value must be between 1 and 100.
466-
:param str offset: Offset token. An offset to the next page returned by the API. A pagination request will return an offset token, which can be used as an input parameter to the next request. If an offset is not passed in, the API will return the first page of results. 'Note: You can only pass in an offset that was returned to you via a previously paginated request.'
466+
:param str offset: Offset token. An offset to the next page returned by the API. A pagination request will return an offset token, which can be used as an input parameter to the next request. If an offset is not passed in, the API will return the first page of results. *Note: You can only pass in an offset that was returned to you via a previously paginated request.*
467467
:param list[str] opt_fields: This endpoint returns a compact resource, which excludes some properties by default. To include those optional properties, set this query parameter to a comma-separated list of the properties you wish to include.
468468
:return: AllocationResponseArray
469469
If the method is called asynchronously,
@@ -490,7 +490,7 @@ def get_allocations_with_http_info(self, opts, **kwargs): # noqa: E501
490490
:param str assignee: Globally unique identifier for the user the allocation is assigned to.
491491
:param str workspace: Globally unique identifier for the workspace.
492492
:param int limit: Results per page. The number of objects to return per page. The value must be between 1 and 100.
493-
:param str offset: Offset token. An offset to the next page returned by the API. A pagination request will return an offset token, which can be used as an input parameter to the next request. If an offset is not passed in, the API will return the first page of results. 'Note: You can only pass in an offset that was returned to you via a previously paginated request.'
493+
:param str offset: Offset token. An offset to the next page returned by the API. A pagination request will return an offset token, which can be used as an input parameter to the next request. If an offset is not passed in, the API will return the first page of results. *Note: You can only pass in an offset that was returned to you via a previously paginated request.*
494494
:param list[str] opt_fields: This endpoint returns a compact resource, which excludes some properties by default. To include those optional properties, set this query parameter to a comma-separated list of the properties you wish to include.
495495
:return: AllocationResponseArray
496496
If the method is called asynchronously,

asana/api/attachments_api.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -498,7 +498,7 @@ def get_attachments_for_object(self, parent, opts, **kwargs): # noqa: E501
498498
:param async_req bool
499499
:param str parent: Globally unique identifier for object to fetch statuses from. Must be a GID for a `project`, `project_brief`, or `task`. (required)
500500
:param int limit: Results per page. The number of objects to return per page. The value must be between 1 and 100.
501-
:param str offset: Offset token. An offset to the next page returned by the API. A pagination request will return an offset token, which can be used as an input parameter to the next request. If an offset is not passed in, the API will return the first page of results. 'Note: You can only pass in an offset that was returned to you via a previously paginated request.'
501+
:param str offset: Offset token. An offset to the next page returned by the API. A pagination request will return an offset token, which can be used as an input parameter to the next request. If an offset is not passed in, the API will return the first page of results. *Note: You can only pass in an offset that was returned to you via a previously paginated request.*
502502
:param list[str] opt_fields: This endpoint returns a compact resource, which excludes some properties by default. To include those optional properties, set this query parameter to a comma-separated list of the properties you wish to include.
503503
:return: AttachmentResponseArray
504504
If the method is called asynchronously,
@@ -523,7 +523,7 @@ def get_attachments_for_object_with_http_info(self, parent, opts, **kwargs): #
523523
:param async_req bool
524524
:param str parent: Globally unique identifier for object to fetch statuses from. Must be a GID for a `project`, `project_brief`, or `task`. (required)
525525
:param int limit: Results per page. The number of objects to return per page. The value must be between 1 and 100.
526-
:param str offset: Offset token. An offset to the next page returned by the API. A pagination request will return an offset token, which can be used as an input parameter to the next request. If an offset is not passed in, the API will return the first page of results. 'Note: You can only pass in an offset that was returned to you via a previously paginated request.'
526+
:param str offset: Offset token. An offset to the next page returned by the API. A pagination request will return an offset token, which can be used as an input parameter to the next request. If an offset is not passed in, the API will return the first page of results. *Note: You can only pass in an offset that was returned to you via a previously paginated request.*
527527
:param list[str] opt_fields: This endpoint returns a compact resource, which excludes some properties by default. To include those optional properties, set this query parameter to a comma-separated list of the properties you wish to include.
528528
:return: AttachmentResponseArray
529529
If the method is called asynchronously,

asana/api/audit_log_api_api.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -50,7 +50,7 @@ def get_audit_log_events(self, workspace_gid, opts, **kwargs): # noqa: E501
5050
:param str actor_gid: Filter to events triggered by the actor with this ID.
5151
:param str resource_gid: Filter to events with this resource ID.
5252
:param int limit: Results per page. The number of objects to return per page. The value must be between 1 and 100.
53-
:param str offset: Offset token. An offset to the next page returned by the API. A pagination request will return an offset token, which can be used as an input parameter to the next request. If an offset is not passed in, the API will return the first page of results. 'Note: You can only pass in an offset that was returned to you via a previously paginated request.'
53+
:param str offset: Offset token. An offset to the next page returned by the API. A pagination request will return an offset token, which can be used as an input parameter to the next request. If an offset is not passed in, the API will return the first page of results. *Note: You can only pass in an offset that was returned to you via a previously paginated request.*
5454
:return: AuditLogEventArray
5555
If the method is called asynchronously,
5656
returns the request thread.
@@ -80,7 +80,7 @@ def get_audit_log_events_with_http_info(self, workspace_gid, opts, **kwargs): #
8080
:param str actor_gid: Filter to events triggered by the actor with this ID.
8181
:param str resource_gid: Filter to events with this resource ID.
8282
:param int limit: Results per page. The number of objects to return per page. The value must be between 1 and 100.
83-
:param str offset: Offset token. An offset to the next page returned by the API. A pagination request will return an offset token, which can be used as an input parameter to the next request. If an offset is not passed in, the API will return the first page of results. 'Note: You can only pass in an offset that was returned to you via a previously paginated request.'
83+
:param str offset: Offset token. An offset to the next page returned by the API. A pagination request will return an offset token, which can be used as an input parameter to the next request. If an offset is not passed in, the API will return the first page of results. *Note: You can only pass in an offset that was returned to you via a previously paginated request.*
8484
:return: AuditLogEventArray
8585
If the method is called asynchronously,
8686
returns the request thread.

asana/api/custom_field_settings_api.py

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -44,7 +44,7 @@ def get_custom_field_settings_for_portfolio(self, portfolio_gid, opts, **kwargs)
4444
:param async_req bool
4545
:param str portfolio_gid: Globally unique identifier for the portfolio. (required)
4646
:param int limit: Results per page. The number of objects to return per page. The value must be between 1 and 100.
47-
:param str offset: Offset token. An offset to the next page returned by the API. A pagination request will return an offset token, which can be used as an input parameter to the next request. If an offset is not passed in, the API will return the first page of results. 'Note: You can only pass in an offset that was returned to you via a previously paginated request.'
47+
:param str offset: Offset token. An offset to the next page returned by the API. A pagination request will return an offset token, which can be used as an input parameter to the next request. If an offset is not passed in, the API will return the first page of results. *Note: You can only pass in an offset that was returned to you via a previously paginated request.*
4848
:param list[str] opt_fields: This endpoint returns a compact resource, which excludes some properties by default. To include those optional properties, set this query parameter to a comma-separated list of the properties you wish to include.
4949
:return: CustomFieldSettingResponseArray
5050
If the method is called asynchronously,
@@ -69,7 +69,7 @@ def get_custom_field_settings_for_portfolio_with_http_info(self, portfolio_gid,
6969
:param async_req bool
7070
:param str portfolio_gid: Globally unique identifier for the portfolio. (required)
7171
:param int limit: Results per page. The number of objects to return per page. The value must be between 1 and 100.
72-
:param str offset: Offset token. An offset to the next page returned by the API. A pagination request will return an offset token, which can be used as an input parameter to the next request. If an offset is not passed in, the API will return the first page of results. 'Note: You can only pass in an offset that was returned to you via a previously paginated request.'
72+
:param str offset: Offset token. An offset to the next page returned by the API. A pagination request will return an offset token, which can be used as an input parameter to the next request. If an offset is not passed in, the API will return the first page of results. *Note: You can only pass in an offset that was returned to you via a previously paginated request.*
7373
:param list[str] opt_fields: This endpoint returns a compact resource, which excludes some properties by default. To include those optional properties, set this query parameter to a comma-separated list of the properties you wish to include.
7474
:return: CustomFieldSettingResponseArray
7575
If the method is called asynchronously,
@@ -190,7 +190,7 @@ def get_custom_field_settings_for_project(self, project_gid, opts, **kwargs): #
190190
:param async_req bool
191191
:param str project_gid: Globally unique identifier for the project. (required)
192192
:param int limit: Results per page. The number of objects to return per page. The value must be between 1 and 100.
193-
:param str offset: Offset token. An offset to the next page returned by the API. A pagination request will return an offset token, which can be used as an input parameter to the next request. If an offset is not passed in, the API will return the first page of results. 'Note: You can only pass in an offset that was returned to you via a previously paginated request.'
193+
:param str offset: Offset token. An offset to the next page returned by the API. A pagination request will return an offset token, which can be used as an input parameter to the next request. If an offset is not passed in, the API will return the first page of results. *Note: You can only pass in an offset that was returned to you via a previously paginated request.*
194194
:param list[str] opt_fields: This endpoint returns a compact resource, which excludes some properties by default. To include those optional properties, set this query parameter to a comma-separated list of the properties you wish to include.
195195
:return: CustomFieldSettingResponseArray
196196
If the method is called asynchronously,
@@ -215,7 +215,7 @@ def get_custom_field_settings_for_project_with_http_info(self, project_gid, opts
215215
:param async_req bool
216216
:param str project_gid: Globally unique identifier for the project. (required)
217217
:param int limit: Results per page. The number of objects to return per page. The value must be between 1 and 100.
218-
:param str offset: Offset token. An offset to the next page returned by the API. A pagination request will return an offset token, which can be used as an input parameter to the next request. If an offset is not passed in, the API will return the first page of results. 'Note: You can only pass in an offset that was returned to you via a previously paginated request.'
218+
:param str offset: Offset token. An offset to the next page returned by the API. A pagination request will return an offset token, which can be used as an input parameter to the next request. If an offset is not passed in, the API will return the first page of results. *Note: You can only pass in an offset that was returned to you via a previously paginated request.*
219219
:param list[str] opt_fields: This endpoint returns a compact resource, which excludes some properties by default. To include those optional properties, set this query parameter to a comma-separated list of the properties you wish to include.
220220
:return: CustomFieldSettingResponseArray
221221
If the method is called asynchronously,

asana/api/custom_fields_api.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -606,7 +606,7 @@ def get_custom_fields_for_workspace(self, workspace_gid, opts, **kwargs): # noq
606606
:param async_req bool
607607
:param str workspace_gid: Globally unique identifier for the workspace or organization. (required)
608608
:param int limit: Results per page. The number of objects to return per page. The value must be between 1 and 100.
609-
:param str offset: Offset token. An offset to the next page returned by the API. A pagination request will return an offset token, which can be used as an input parameter to the next request. If an offset is not passed in, the API will return the first page of results. 'Note: You can only pass in an offset that was returned to you via a previously paginated request.'
609+
:param str offset: Offset token. An offset to the next page returned by the API. A pagination request will return an offset token, which can be used as an input parameter to the next request. If an offset is not passed in, the API will return the first page of results. *Note: You can only pass in an offset that was returned to you via a previously paginated request.*
610610
:param list[str] opt_fields: This endpoint returns a compact resource, which excludes some properties by default. To include those optional properties, set this query parameter to a comma-separated list of the properties you wish to include.
611611
:return: CustomFieldResponseArray
612612
If the method is called asynchronously,
@@ -631,7 +631,7 @@ def get_custom_fields_for_workspace_with_http_info(self, workspace_gid, opts, **
631631
:param async_req bool
632632
:param str workspace_gid: Globally unique identifier for the workspace or organization. (required)
633633
:param int limit: Results per page. The number of objects to return per page. The value must be between 1 and 100.
634-
:param str offset: Offset token. An offset to the next page returned by the API. A pagination request will return an offset token, which can be used as an input parameter to the next request. If an offset is not passed in, the API will return the first page of results. 'Note: You can only pass in an offset that was returned to you via a previously paginated request.'
634+
:param str offset: Offset token. An offset to the next page returned by the API. A pagination request will return an offset token, which can be used as an input parameter to the next request. If an offset is not passed in, the API will return the first page of results. *Note: You can only pass in an offset that was returned to you via a previously paginated request.*
635635
:param list[str] opt_fields: This endpoint returns a compact resource, which excludes some properties by default. To include those optional properties, set this query parameter to a comma-separated list of the properties you wish to include.
636636
:return: CustomFieldResponseArray
637637
If the method is called asynchronously,

0 commit comments

Comments
 (0)