seatable-api 2.7.0__tar.gz → 2.7.1__tar.gz
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- {seatable-api-2.7.0 → seatable-api-2.7.1}/PKG-INFO +1 -1
- {seatable-api-2.7.0 → seatable-api-2.7.1}/seatable_api/api_gateway.py +2 -1
- {seatable-api-2.7.0 → seatable-api-2.7.1}/seatable_api/main.py +1 -1
- {seatable-api-2.7.0 → seatable-api-2.7.1}/seatable_api.egg-info/PKG-INFO +1 -1
- {seatable-api-2.7.0 → seatable-api-2.7.1}/setup.py +1 -1
- {seatable-api-2.7.0 → seatable-api-2.7.1}/README.md +0 -0
- {seatable-api-2.7.0 → seatable-api-2.7.1}/seatable_api/__init__.py +0 -0
- {seatable-api-2.7.0 → seatable-api-2.7.1}/seatable_api/column.py +0 -0
- {seatable-api-2.7.0 → seatable-api-2.7.1}/seatable_api/constants.py +0 -0
- {seatable-api-2.7.0 → seatable-api-2.7.1}/seatable_api/context.py +0 -0
- {seatable-api-2.7.0 → seatable-api-2.7.1}/seatable_api/convert_airtable.py +0 -0
- {seatable-api-2.7.0 → seatable-api-2.7.1}/seatable_api/date_utils.py +0 -0
- {seatable-api-2.7.0 → seatable-api-2.7.1}/seatable_api/exception.py +0 -0
- {seatable-api-2.7.0 → seatable-api-2.7.1}/seatable_api/message.py +0 -0
- {seatable-api-2.7.0 → seatable-api-2.7.1}/seatable_api/parsetab.py +0 -0
- {seatable-api-2.7.0 → seatable-api-2.7.1}/seatable_api/query.py +0 -0
- {seatable-api-2.7.0 → seatable-api-2.7.1}/seatable_api/socket_io.py +0 -0
- {seatable-api-2.7.0 → seatable-api-2.7.1}/seatable_api/utils.py +0 -0
- {seatable-api-2.7.0 → seatable-api-2.7.1}/seatable_api.egg-info/SOURCES.txt +0 -0
- {seatable-api-2.7.0 → seatable-api-2.7.1}/seatable_api.egg-info/dependency_links.txt +0 -0
- {seatable-api-2.7.0 → seatable-api-2.7.1}/seatable_api.egg-info/requires.txt +0 -0
- {seatable-api-2.7.0 → seatable-api-2.7.1}/seatable_api.egg-info/top_level.txt +0 -0
- {seatable-api-2.7.0 → seatable-api-2.7.1}/setup.cfg +0 -0
- {seatable-api-2.7.0 → seatable-api-2.7.1}/tests/__init__.py +0 -0
- {seatable-api-2.7.0 → seatable-api-2.7.1}/tests/dateutils_test.py +0 -0
|
@@ -251,7 +251,8 @@ class APIGateway(object):
|
|
|
251
251
|
if apply_default is not None:
|
|
252
252
|
json_data['apply_default'] = apply_default
|
|
253
253
|
response = requests.post(url, json=json_data, headers=self.headers, timeout=self.timeout)
|
|
254
|
-
|
|
254
|
+
data = parse_response(response)
|
|
255
|
+
return data.get('first_row')
|
|
255
256
|
|
|
256
257
|
|
|
257
258
|
def batch_append_rows(self, table_name, rows_data, apply_default=None):
|
|
@@ -107,7 +107,7 @@ class SeaTableAPI(object):
|
|
|
107
107
|
self.dtable_name = data.get('dtable_name')
|
|
108
108
|
|
|
109
109
|
# api gateway entry
|
|
110
|
-
self.use_api_gateway = data.get('use_api_gateway')
|
|
110
|
+
self.use_api_gateway = data.get('use_api_gateway', True)
|
|
111
111
|
if self.use_api_gateway:
|
|
112
112
|
self.api_gateway = APIGateway(
|
|
113
113
|
token = self.token,
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|