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.
Files changed (19) hide show
  1. {keboola.component-1.4.3/src/keboola.component.egg-info → keboola.component-1.6.0}/PKG-INFO +2 -2
  2. {keboola.component-1.4.3 → keboola.component-1.6.0}/README.md +1 -1
  3. {keboola.component-1.4.3 → keboola.component-1.6.0}/setup.py +1 -1
  4. {keboola.component-1.4.3 → keboola.component-1.6.0}/src/keboola/component/base.py +1 -0
  5. keboola.component-1.6.0/src/keboola/component/dao.py +1852 -0
  6. {keboola.component-1.4.3 → keboola.component-1.6.0}/src/keboola/component/interface.py +58 -26
  7. {keboola.component-1.4.3 → keboola.component-1.6.0/src/keboola.component.egg-info}/PKG-INFO +2 -2
  8. keboola.component-1.4.3/src/keboola/component/dao.py +0 -1200
  9. {keboola.component-1.4.3 → keboola.component-1.6.0}/LICENSE +0 -0
  10. {keboola.component-1.4.3 → keboola.component-1.6.0}/setup.cfg +0 -0
  11. {keboola.component-1.4.3 → keboola.component-1.6.0}/src/keboola/component/__init__.py +0 -0
  12. {keboola.component-1.4.3 → keboola.component-1.6.0}/src/keboola/component/exceptions.py +0 -0
  13. {keboola.component-1.4.3 → keboola.component-1.6.0}/src/keboola/component/sync_actions.py +0 -0
  14. {keboola.component-1.4.3 → keboola.component-1.6.0}/src/keboola/component/table_schema.py +0 -0
  15. {keboola.component-1.4.3 → keboola.component-1.6.0}/src/keboola.component.egg-info/SOURCES.txt +0 -0
  16. {keboola.component-1.4.3 → keboola.component-1.6.0}/src/keboola.component.egg-info/dependency_links.txt +0 -0
  17. {keboola.component-1.4.3 → keboola.component-1.6.0}/src/keboola.component.egg-info/not-zip-safe +0 -0
  18. {keboola.component-1.4.3 → keboola.component-1.6.0}/src/keboola.component.egg-info/requires.txt +0 -0
  19. {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.4.3
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: "{input_files.name}" is at path: {input_files.full_path}')
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: "{input_files.name}" is at path: {input_files.full_path}')
306
+ logging.info(f'The first file named: "{first_file.name}" is at path: {first_file.full_path}')
307
307
 
308
308
 
309
309
  ```
@@ -13,7 +13,7 @@ project_urls = {
13
13
 
14
14
  setuptools.setup(
15
15
  name="keboola.component",
16
- version="1.4.3",
16
+ version="1.6.0",
17
17
  author="Keboola KDS Team",
18
18
  project_urls=project_urls,
19
19
  setup_requires=['pytest-runner', 'flake8'],
@@ -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