brynq-sdk-salesforce 1.0.3__tar.gz → 1.0.4__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.
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 1.0
2
2
  Name: brynq_sdk_salesforce
3
- Version: 1.0.3
3
+ Version: 1.0.4
4
4
  Summary: Salesforce wrapper from BrynQ
5
5
  Home-page: UNKNOWN
6
6
  Author: BrynQ
@@ -306,6 +306,8 @@ class Salesforce(BrynQ):
306
306
  if 'attributes' in df.columns:
307
307
  del df['attributes']
308
308
  df.reset_index(drop=True, inplace=True)
309
+ if df.empty:
310
+ return df
309
311
  try:
310
312
  df.to_feather(f'{data_dir}cache/{filename}.ftr')
311
313
  except Exception as e:
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 1.0
2
2
  Name: brynq-sdk-salesforce
3
- Version: 1.0.3
3
+ Version: 1.0.4
4
4
  Summary: Salesforce wrapper from BrynQ
5
5
  Home-page: UNKNOWN
6
6
  Author: BrynQ
@@ -3,7 +3,7 @@ from setuptools import setup
3
3
 
4
4
  setup(
5
5
  name='brynq_sdk_salesforce',
6
- version='1.0.3',
6
+ version='1.0.4',
7
7
  description='Salesforce wrapper from BrynQ',
8
8
  long_description='Salesforce wrapper from BrynQ',
9
9
  author='BrynQ',