Skip to content

Commit

Permalink
Release/2.55.1
Browse files Browse the repository at this point in the history
  • Loading branch information
brenopapa committed Aug 22, 2024
1 parent cc27183 commit 92f690a
Show file tree
Hide file tree
Showing 5 changed files with 8 additions and 8 deletions.
4 changes: 2 additions & 2 deletions pycarol/cds.py
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,7 @@ def check_worker_type(worker_type):
Warning, stacklevel=3
)

@deprecated('2.55.1', '2.57.0', 'CDS Data reading is deprecated - Use Big Query layer to read data from Carol.')
@deprecated('2.55.1', '2.56.0', 'CDS Data reading is deprecated - Use Big Query layer to read data from Carol.')
class CDSStaging:
"""
Class to handle all CDS Staging iterations.
Expand Down Expand Up @@ -331,7 +331,7 @@ def count(self, staging_name, connector_id=None, connector_name=None):
"stagingType": staging_name}
return self.carol.call_api(path='v1/cds/staging/fetchCount', method='POST', params=query_params).get('count')

@deprecated('2.55.1', '2.57.0', 'CDS Data reading is deprecated - Use Big Query layer to read data from Carol.')
@deprecated('2.55.1', '2.56.0', 'CDS Data reading is deprecated - Use Big Query layer to read data from Carol.')
class CDSGolden:
"""
Class to handle all CDS Staging iterations.
Expand Down
2 changes: 1 addition & 1 deletion pycarol/data_models/data_models.py
Original file line number Diff line number Diff line change
Expand Up @@ -102,7 +102,7 @@ def _get(self, id, by='id'):
{resp['mdmName']: self._get_name_type_data_models(resp['mdmFields'])})
return resp

@deprecated('2.55.1', '2.57.0', 'CDS Data reading is deprecated - Use Big Query layer to read data from Carol.')
@deprecated('2.55.1', '2.56.0', 'CDS Data reading is deprecated - Use Big Query layer to read data from Carol.')
def fetch_parquet(
self, dm_name, merge_records=True, backend='pandas',
return_dask_graph=False,
Expand Down
4 changes: 2 additions & 2 deletions pycarol/functions/misc.py
Original file line number Diff line number Diff line change
Expand Up @@ -77,7 +77,7 @@ def callback(task_list):
if callable(callback):
callback(task_status)

@deprecated('2.55.1', '2.57.0', 'CDS Data reading is deprecated - Use Big Query layer to read data from Carol.')
@deprecated('2.55.1', '2.56.0', 'CDS Data reading is deprecated - Use Big Query layer to read data from Carol.')
def delele_all_golden_data(carol, dm_name):
"""Delete golden files from a datamodel in all storages.
Expand Down Expand Up @@ -118,7 +118,7 @@ def par_delete_golden(carol, dm_list, n_jobs=5):
for i in dm_list)
return list(chain(*tasks))

@deprecated('2.55.1', '2.57.0', 'CDS Data reading is deprecated - Use Big Query layer to read data from Carol.')
@deprecated('2.55.1', '2.56.0', 'CDS Data reading is deprecated - Use Big Query layer to read data from Carol.')
def delete_staging_data(carol, staging_name, connector_name):
"""Delete a staging.
Expand Down
2 changes: 1 addition & 1 deletion pycarol/staging.py
Original file line number Diff line number Diff line change
Expand Up @@ -399,7 +399,7 @@ def _connector_by_name(self, connector_name):
"""
return Connectors(self.carol).get_by_name(connector_name)['mdmId']

@deprecated('2.55.1', '2.57.0', 'CDS Data reading is deprecated - Use Big Query layer to read data from Carol.')
@deprecated('2.55.1', '2.56.0', 'CDS Data reading is deprecated - Use Big Query layer to read data from Carol.')
def fetch_parquet(self, staging_name, connector_id=None, connector_name=None, backend='pandas',
merge_records=True, return_dask_graph=False, columns=None, max_hits=None,
return_metadata=False, callback=None, cds=True, max_workers=None, file_pattern=None,
Expand Down
4 changes: 2 additions & 2 deletions pycarol/utils/miscellaneous.py
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
from pycarol.utils.deprecation_msgs import deprecated
_FILE_MARKER = '<files>'

@deprecated('2.55.1', '2.57.0', 'CDS Data reading is deprecated - Use Big Query layer to read data from Carol.')
@deprecated('2.55.1', '2.56.0', 'CDS Data reading is deprecated - Use Big Query layer to read data from Carol.')
def drop_duplicated_parquet_dask(d, untie_field='mdmCounterForEntity'):
"""
Merge updates and delete records from the parquet files in CDS.
Expand Down Expand Up @@ -35,7 +35,7 @@ def drop_duplicated_parquet_dask(d, untie_field='mdmCounterForEntity'):
d = d.reset_index(drop=True)
return d

@deprecated('2.55.1', '2.57.0', 'CDS Data reading is deprecated - Use Big Query layer to read data from Carol.')
@deprecated('2.55.1', '2.56.0', 'CDS Data reading is deprecated - Use Big Query layer to read data from Carol.')
def drop_duplicated_parquet(d, untie_field='mdmCounterForEntity'):
"""
Merge updates and delete records from the parquet files in CDS.
Expand Down

0 comments on commit 92f690a

Please sign in to comment.