moose-lib 0.5.25__py3-none-any.whl → 0.5.26__py3-none-any.whl

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.

Potentially problematic release.


This version of moose-lib might be problematic. Click here for more details.

moose_lib/data_models.py CHANGED
@@ -150,9 +150,9 @@ def py_type_to_column_type(t: type, mds: list[Any]) -> Tuple[bool, list[Any], Da
150
150
  data_type = "String"
151
151
  elif t is int:
152
152
  # Check for int size annotations
153
- int_size = next((md for md in mds if isinstance(md, str) and re.match(r'^int\d+$', md)), None)
153
+ int_size = next((md for md in mds if isinstance(md, str) and re.match(r'^u?int\d+$', md)), None)
154
154
  if int_size:
155
- data_type = int_size.capitalize()
155
+ data_type = int_size.replace("u", "U").replace("i", "I")
156
156
  else:
157
157
  data_type = "Int"
158
158
  elif t is float:
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: moose_lib
3
- Version: 0.5.25
3
+ Version: 0.5.26
4
4
  Home-page: https://www.fiveonefour.com/moose
5
5
  Author: Fiveonefour Labs Inc.
6
6
  Author-email: support@fiveonefour.com
@@ -1,7 +1,7 @@
1
1
  moose_lib/__init__.py,sha256=_XXfHrzRl-M5M1e3CwBQGGblVQYKnU5QJkipghe4bXU,184
2
2
  moose_lib/blocks.py,sha256=_wdvC2NC_Y3MMEnB71WTgWbeQ--zPNHk19xjToJW0C0,3185
3
3
  moose_lib/commons.py,sha256=FUpRv8D3-LeGcjhcqtDyiimz5izwpCq53h50ydxC_uA,3711
4
- moose_lib/data_models.py,sha256=FjFNd88WWCGMG5p5gV-Vjgp1cXARBeFapEHqDy0-WX8,9792
4
+ moose_lib/data_models.py,sha256=qXe0MuD1mojMGusocLn73d-HTtP4_ORPNwGQMQWtP0o,9817
5
5
  moose_lib/dmv2-serializer.py,sha256=CL_Pvvg8tJOT8Qk6hywDNzY8MYGhMVdTOw8arZi3jng,49
6
6
  moose_lib/internal.py,sha256=6qKPGUPxJV3oNruKg76umw_P_TcMgVAuaijn-7EdHXQ,14659
7
7
  moose_lib/main.py,sha256=nmLVEHNnlwga6WjpU3y1fUBREJCh5mYStGbdNXYGVI8,17221
@@ -32,7 +32,7 @@ tests/__init__.py,sha256=0Gh4yzPkkC3TzBGKhenpMIxJcRhyrrCfxLSfpTZnPMQ,53
32
32
  tests/conftest.py,sha256=ZVJNbnr4DwbcqkTmePW6U01zAzE6QD0kNAEZjPG1f4s,169
33
33
  tests/test_moose.py,sha256=mBsx_OYWmL8ppDzL_7Bd7xR6qf_i3-pCIO3wm2iQNaA,2136
34
34
  tests/test_redis_client.py,sha256=d9_MLYsJ4ecVil_jPB2gW3Q5aWnavxmmjZg2uYI3LVo,3256
35
- moose_lib-0.5.25.dist-info/METADATA,sha256=pEdTwciQXBLBa9hAqmeNqeR3WyT2G3prT2kawyd2Nys,730
36
- moose_lib-0.5.25.dist-info/WHEEL,sha256=_zCd3N1l69ArxyTb8rzEoP9TpbYXkqRFSNOD5OuxnTs,91
37
- moose_lib-0.5.25.dist-info/top_level.txt,sha256=XEns2-4aCmGp2XjJAeEH9TAUcGONLnSLy6ycT9FSJh8,16
38
- moose_lib-0.5.25.dist-info/RECORD,,
35
+ moose_lib-0.5.26.dist-info/METADATA,sha256=rT8Ilm7pqTqPr92K0v4T3mHeFIa3BWvSPS-4r1wI0ck,730
36
+ moose_lib-0.5.26.dist-info/WHEEL,sha256=_zCd3N1l69ArxyTb8rzEoP9TpbYXkqRFSNOD5OuxnTs,91
37
+ moose_lib-0.5.26.dist-info/top_level.txt,sha256=XEns2-4aCmGp2XjJAeEH9TAUcGONLnSLy6ycT9FSJh8,16
38
+ moose_lib-0.5.26.dist-info/RECORD,,