diff options
| author | Bryan Newbold <bnewbold@robocracy.org> | 2018-08-30 19:37:04 -0700 | 
|---|---|---|
| committer | Bryan Newbold <bnewbold@robocracy.org> | 2018-08-30 19:37:04 -0700 | 
| commit | 1b10d844f20df008fa9848d4ee83e294ed9c6523 (patch) | |
| tree | bd4d8c5fe691595f5e606aa917887ea16560dacd /python/fatcat_client/api | |
| parent | d046bee7a76576cf14a2815b787247fca8c44433 (diff) | |
| download | fatcat-1b10d844f20df008fa9848d4ee83e294ed9c6523.tar.gz fatcat-1b10d844f20df008fa9848d4ee83e294ed9c6523.zip | |
importers: create editgroup and pass
Diffstat (limited to 'python/fatcat_client/api')
| -rw-r--r-- | python/fatcat_client/api/default_api.py | 30 | 
1 files changed, 25 insertions, 5 deletions
| diff --git a/python/fatcat_client/api/default_api.py b/python/fatcat_client/api/default_api.py index 914f747c..a0298750 100644 --- a/python/fatcat_client/api/default_api.py +++ b/python/fatcat_client/api/default_api.py @@ -246,6 +246,7 @@ class DefaultApi(object):          :param async bool          :param list[ContainerEntity] entity_list: (required)          :param bool autoaccept: If true, and editor is authorized, batch is accepted all at once +        :param str editgroup: Editgroup to auto-accept and apply to all entities (required if 'autoaccept' is True)          :return: list[EntityEdit]                   If the method is called asynchronously,                   returns the request thread. @@ -268,12 +269,13 @@ class DefaultApi(object):          :param async bool          :param list[ContainerEntity] entity_list: (required)          :param bool autoaccept: If true, and editor is authorized, batch is accepted all at once +        :param str editgroup: Editgroup to auto-accept and apply to all entities (required if 'autoaccept' is True)          :return: list[EntityEdit]                   If the method is called asynchronously,                   returns the request thread.          """ -        all_params = ['entity_list', 'autoaccept']  # noqa: E501 +        all_params = ['entity_list', 'autoaccept', 'editgroup']  # noqa: E501          all_params.append('async')          all_params.append('_return_http_data_only')          all_params.append('_preload_content') @@ -300,6 +302,8 @@ class DefaultApi(object):          query_params = []          if 'autoaccept' in params:              query_params.append(('autoaccept', params['autoaccept']))  # noqa: E501 +        if 'editgroup' in params: +            query_params.append(('editgroup', params['editgroup']))  # noqa: E501          header_params = {} @@ -444,6 +448,7 @@ class DefaultApi(object):          :param async bool          :param list[CreatorEntity] entity_list: (required)          :param bool autoaccept: If true, and editor is authorized, batch is accepted all at once +        :param str editgroup: Editgroup to auto-accept and apply to all entities (required if 'autoaccept' is True)          :return: list[EntityEdit]                   If the method is called asynchronously,                   returns the request thread. @@ -466,12 +471,13 @@ class DefaultApi(object):          :param async bool          :param list[CreatorEntity] entity_list: (required)          :param bool autoaccept: If true, and editor is authorized, batch is accepted all at once +        :param str editgroup: Editgroup to auto-accept and apply to all entities (required if 'autoaccept' is True)          :return: list[EntityEdit]                   If the method is called asynchronously,                   returns the request thread.          """ -        all_params = ['entity_list', 'autoaccept']  # noqa: E501 +        all_params = ['entity_list', 'autoaccept', 'editgroup']  # noqa: E501          all_params.append('async')          all_params.append('_return_http_data_only')          all_params.append('_preload_content') @@ -498,6 +504,8 @@ class DefaultApi(object):          query_params = []          if 'autoaccept' in params:              query_params.append(('autoaccept', params['autoaccept']))  # noqa: E501 +        if 'editgroup' in params: +            query_params.append(('editgroup', params['editgroup']))  # noqa: E501          header_params = {} @@ -739,6 +747,7 @@ class DefaultApi(object):          :param async bool          :param list[FileEntity] entity_list: (required)          :param bool autoaccept: If true, and editor is authorized, batch is accepted all at once +        :param str editgroup: Editgroup to auto-accept and apply to all entities (required if 'autoaccept' is True)          :return: list[EntityEdit]                   If the method is called asynchronously,                   returns the request thread. @@ -761,12 +770,13 @@ class DefaultApi(object):          :param async bool          :param list[FileEntity] entity_list: (required)          :param bool autoaccept: If true, and editor is authorized, batch is accepted all at once +        :param str editgroup: Editgroup to auto-accept and apply to all entities (required if 'autoaccept' is True)          :return: list[EntityEdit]                   If the method is called asynchronously,                   returns the request thread.          """ -        all_params = ['entity_list', 'autoaccept']  # noqa: E501 +        all_params = ['entity_list', 'autoaccept', 'editgroup']  # noqa: E501          all_params.append('async')          all_params.append('_return_http_data_only')          all_params.append('_preload_content') @@ -793,6 +803,8 @@ class DefaultApi(object):          query_params = []          if 'autoaccept' in params:              query_params.append(('autoaccept', params['autoaccept']))  # noqa: E501 +        if 'editgroup' in params: +            query_params.append(('editgroup', params['editgroup']))  # noqa: E501          header_params = {} @@ -937,6 +949,7 @@ class DefaultApi(object):          :param async bool          :param list[ReleaseEntity] entity_list: (required)          :param bool autoaccept: If true, and editor is authorized, batch is accepted all at once +        :param str editgroup: Editgroup to auto-accept and apply to all entities (required if 'autoaccept' is True)          :return: list[EntityEdit]                   If the method is called asynchronously,                   returns the request thread. @@ -959,12 +972,13 @@ class DefaultApi(object):          :param async bool          :param list[ReleaseEntity] entity_list: (required)          :param bool autoaccept: If true, and editor is authorized, batch is accepted all at once +        :param str editgroup: Editgroup to auto-accept and apply to all entities (required if 'autoaccept' is True)          :return: list[EntityEdit]                   If the method is called asynchronously,                   returns the request thread.          """ -        all_params = ['entity_list', 'autoaccept']  # noqa: E501 +        all_params = ['entity_list', 'autoaccept', 'editgroup']  # noqa: E501          all_params.append('async')          all_params.append('_return_http_data_only')          all_params.append('_preload_content') @@ -991,6 +1005,8 @@ class DefaultApi(object):          query_params = []          if 'autoaccept' in params:              query_params.append(('autoaccept', params['autoaccept']))  # noqa: E501 +        if 'editgroup' in params: +            query_params.append(('editgroup', params['editgroup']))  # noqa: E501          header_params = {} @@ -1135,6 +1151,7 @@ class DefaultApi(object):          :param async bool          :param list[WorkEntity] entity_list: (required)          :param bool autoaccept: If true, and editor is authorized, batch is accepted all at once +        :param str editgroup: Editgroup to auto-accept and apply to all entities (required if 'autoaccept' is True)          :return: list[EntityEdit]                   If the method is called asynchronously,                   returns the request thread. @@ -1157,12 +1174,13 @@ class DefaultApi(object):          :param async bool          :param list[WorkEntity] entity_list: (required)          :param bool autoaccept: If true, and editor is authorized, batch is accepted all at once +        :param str editgroup: Editgroup to auto-accept and apply to all entities (required if 'autoaccept' is True)          :return: list[EntityEdit]                   If the method is called asynchronously,                   returns the request thread.          """ -        all_params = ['entity_list', 'autoaccept']  # noqa: E501 +        all_params = ['entity_list', 'autoaccept', 'editgroup']  # noqa: E501          all_params.append('async')          all_params.append('_return_http_data_only')          all_params.append('_preload_content') @@ -1189,6 +1207,8 @@ class DefaultApi(object):          query_params = []          if 'autoaccept' in params:              query_params.append(('autoaccept', params['autoaccept']))  # noqa: E501 +        if 'editgroup' in params: +            query_params.append(('editgroup', params['editgroup']))  # noqa: E501          header_params = {} | 
