rgwfuncs 0.0.115__tar.gz → 0.0.117__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: 2.4
2
2
  Name: rgwfuncs
3
- Version: 0.0.115
3
+ Version: 0.0.117
4
4
  Summary: A functional programming paradigm for mathematical modelling and data science
5
5
  Author-email: Ryan Gerard Wilson <ryangerardwilson@gmail.com>
6
6
  Project-URL: Homepage, https://github.com/ryangerardwilson/rgwfuncs
@@ -4,7 +4,7 @@ build-backend = "setuptools.build_meta"
4
4
 
5
5
  [project]
6
6
  name = "rgwfuncs"
7
- version = "0.0.115"
7
+ version = "0.0.117"
8
8
  authors = [
9
9
  { name = "Ryan Gerard Wilson", email = "ryangerardwilson@gmail.com" },
10
10
  ]
@@ -632,10 +632,10 @@ def load_data_from_snowflake(
632
632
  has_direct = any(d is not None for d in direct_creds)
633
633
  if preset and has_direct:
634
634
  raise ValueError("Don't mix preset with direct params, pick one")
635
- if not preset and not has_direct_creds: # Wait, better: require at least the core ones
635
+ if not preset and not has_direct: # Wait, better: require at least the core ones
636
636
  if not private_key_path or not account or not user:
637
637
  raise ValueError("Need private_key_path, account, and user if no preset")
638
- if not preset and not preset:
638
+ if not preset and not has_direct:
639
639
  raise ValueError("Provide preset or direct creds")
640
640
 
641
641
  # Load creds from preset
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: rgwfuncs
3
- Version: 0.0.115
3
+ Version: 0.0.117
4
4
  Summary: A functional programming paradigm for mathematical modelling and data science
5
5
  Author-email: Ryan Gerard Wilson <ryangerardwilson@gmail.com>
6
6
  Project-URL: Homepage, https://github.com/ryangerardwilson/rgwfuncs
File without changes
File without changes
File without changes