keboola.component 1.4.3__tar.gz → 1.6.0__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.
- {keboola.component-1.4.3/src/keboola.component.egg-info → keboola.component-1.6.0}/PKG-INFO +2 -2
- {keboola.component-1.4.3 → keboola.component-1.6.0}/README.md +1 -1
- {keboola.component-1.4.3 → keboola.component-1.6.0}/setup.py +1 -1
- {keboola.component-1.4.3 → keboola.component-1.6.0}/src/keboola/component/base.py +1 -0
- keboola.component-1.6.0/src/keboola/component/dao.py +1852 -0
- {keboola.component-1.4.3 → keboola.component-1.6.0}/src/keboola/component/interface.py +58 -26
- {keboola.component-1.4.3 → keboola.component-1.6.0/src/keboola.component.egg-info}/PKG-INFO +2 -2
- keboola.component-1.4.3/src/keboola/component/dao.py +0 -1200
- {keboola.component-1.4.3 → keboola.component-1.6.0}/LICENSE +0 -0
- {keboola.component-1.4.3 → keboola.component-1.6.0}/setup.cfg +0 -0
- {keboola.component-1.4.3 → keboola.component-1.6.0}/src/keboola/component/__init__.py +0 -0
- {keboola.component-1.4.3 → keboola.component-1.6.0}/src/keboola/component/exceptions.py +0 -0
- {keboola.component-1.4.3 → keboola.component-1.6.0}/src/keboola/component/sync_actions.py +0 -0
- {keboola.component-1.4.3 → keboola.component-1.6.0}/src/keboola/component/table_schema.py +0 -0
- {keboola.component-1.4.3 → keboola.component-1.6.0}/src/keboola.component.egg-info/SOURCES.txt +0 -0
- {keboola.component-1.4.3 → keboola.component-1.6.0}/src/keboola.component.egg-info/dependency_links.txt +0 -0
- {keboola.component-1.4.3 → keboola.component-1.6.0}/src/keboola.component.egg-info/not-zip-safe +0 -0
- {keboola.component-1.4.3 → keboola.component-1.6.0}/src/keboola.component.egg-info/requires.txt +0 -0
- {keboola.component-1.4.3 → keboola.component-1.6.0}/src/keboola.component.egg-info/top_level.txt +0 -0
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
Metadata-Version: 2.1
|
|
2
2
|
Name: keboola.component
|
|
3
|
-
Version: 1.
|
|
3
|
+
Version: 1.6.0
|
|
4
4
|
Summary: General library for Python applications running in Keboola Connection environment
|
|
5
5
|
Home-page: https://github.com/keboola/python-component
|
|
6
6
|
Author: Keboola KDS Team
|
|
@@ -322,7 +322,7 @@ input_files = ci.get_input_files_definitions(tags=['my_tag'], only_latest_files=
|
|
|
322
322
|
|
|
323
323
|
# print path of the first file (random order) matching the criteria
|
|
324
324
|
first_file = input_files[0]
|
|
325
|
-
logging.info(f'The first file named: "{
|
|
325
|
+
logging.info(f'The first file named: "{first_file.name}" is at path: {first_file.full_path}')
|
|
326
326
|
|
|
327
327
|
|
|
328
328
|
```
|
|
@@ -303,7 +303,7 @@ input_files = ci.get_input_files_definitions(tags=['my_tag'], only_latest_files=
|
|
|
303
303
|
|
|
304
304
|
# print path of the first file (random order) matching the criteria
|
|
305
305
|
first_file = input_files[0]
|
|
306
|
-
logging.info(f'The first file named: "{
|
|
306
|
+
logging.info(f'The first file named: "{first_file.name}" is at path: {first_file.full_path}')
|
|
307
307
|
|
|
308
308
|
|
|
309
309
|
```
|
|
@@ -334,6 +334,7 @@ class ComponentBase(ABC, CommonInterface):
|
|
|
334
334
|
table_metadata.add_table_description(table_schema.description)
|
|
335
335
|
table_metadata.add_column_descriptions({field.name: field.description for field in table_schema.fields})
|
|
336
336
|
table_metadata = self._add_field_data_types_to_table_metadata(table_schema, table_metadata)
|
|
337
|
+
|
|
337
338
|
return table_metadata
|
|
338
339
|
|
|
339
340
|
@staticmethod
|