pytrilogy 0.0.2.38__py3-none-any.whl → 0.0.2.39__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 pytrilogy might be problematic. Click here for more details.

@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.1
2
2
  Name: pytrilogy
3
- Version: 0.0.2.38
3
+ Version: 0.0.2.39
4
4
  Summary: Declarative, typed query language that compiles to SQL.
5
5
  Home-page:
6
6
  Author:
@@ -1,4 +1,4 @@
1
- trilogy/__init__.py,sha256=TpmwxmkVonT_rX2iXPvmEh79DjjVBa7Cw93OzW6BFJs,291
1
+ trilogy/__init__.py,sha256=yX0F1t4N_maMFKbruOAtDv1ZZx40t3DP_jLMW2X1-tA,291
2
2
  trilogy/compiler.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
3
3
  trilogy/constants.py,sha256=UPymm94T2c6a55XdDaXw0aleTe1pOJ6lf6gOWLKZyKg,1430
4
4
  trilogy/engine.py,sha256=R5ubIxYyrxRExz07aZCUfrTsoXCHQ8DKFTDsobXdWdA,1102
@@ -16,7 +16,7 @@ trilogy/core/exceptions.py,sha256=NvV_4qLOgKXbpotgRf7c8BANDEvHxlqRPaA53IThQ2o,56
16
16
  trilogy/core/functions.py,sha256=IhVpt3n6wEanKHnGu3oA2w6-hKIlxWpEyz7fHN66mpo,10720
17
17
  trilogy/core/graph_models.py,sha256=mameUTiuCajtihDw_2-W218xyJlvTusOWrEKP1yAWgk,2003
18
18
  trilogy/core/internal.py,sha256=jNGFHKENnbMiMCtAgsnLZYVSENDK4b5ALecXFZpTDzQ,1075
19
- trilogy/core/models.py,sha256=Ut8mtfb_Ha5hmkxt8NcE46YPrKYvJu_i1Zbyjf_lJsQ,162996
19
+ trilogy/core/models.py,sha256=hNW55X6rqDoe7tm9DM61zqEvleAjcVktTTmYyEHYZdU,163003
20
20
  trilogy/core/optimization.py,sha256=VFSvJLNoCCOraip-PZUKeE4qrlxtXARjQUzJZiW-yRk,7325
21
21
  trilogy/core/query_processor.py,sha256=mbcZlgjChrRjDHkdmMbKe-T70UpbBkJhS09MyU5a6UY,17785
22
22
  trilogy/core/optimizations/__init__.py,sha256=bWQecbeiwiDx9LJnLsa7dkWxdbl2wcnkcTN69JyP8iI,356
@@ -75,9 +75,9 @@ trilogy/parsing/render.py,sha256=FWKk2xEA0gWwE4WFHLo4Q9mGPcujT1aPHRxmqnGGQ8A,157
75
75
  trilogy/parsing/trilogy.lark,sha256=YOgt-rE_0ZHRex_fTeqZiHvu5a4BX5UBOUu1LAVCyug,12391
76
76
  trilogy/scripts/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
77
77
  trilogy/scripts/trilogy.py,sha256=PHxvv6f2ODv0esyyhWxlARgra8dVhqQhYl0lTrSyVNo,3729
78
- pytrilogy-0.0.2.38.dist-info/LICENSE.md,sha256=5ZRvtTyCCFwz1THxDTjAu3Lidds9WjPvvzgVwPSYNDo,1042
79
- pytrilogy-0.0.2.38.dist-info/METADATA,sha256=XwQM4eDwIRYq2Um2VNxVpRBqe-xVxpNdIT3WDa5uF3I,8424
80
- pytrilogy-0.0.2.38.dist-info/WHEEL,sha256=R06PA3UVYHThwHvxuRWMqaGcr-PuniXahwjmQRFMEkY,91
81
- pytrilogy-0.0.2.38.dist-info/entry_points.txt,sha256=0petKryjvvtEfTlbZC1AuMFumH_WQ9v8A19LvoS6G6c,54
82
- pytrilogy-0.0.2.38.dist-info/top_level.txt,sha256=cAy__NW_eMAa_yT9UnUNlZLFfxcg6eimUAZ184cdNiE,8
83
- pytrilogy-0.0.2.38.dist-info/RECORD,,
78
+ pytrilogy-0.0.2.39.dist-info/LICENSE.md,sha256=5ZRvtTyCCFwz1THxDTjAu3Lidds9WjPvvzgVwPSYNDo,1042
79
+ pytrilogy-0.0.2.39.dist-info/METADATA,sha256=fxJFY0sR884pHmLQY7SL1LFG3BmXLZ3xCTOzTm4-nOg,8424
80
+ pytrilogy-0.0.2.39.dist-info/WHEEL,sha256=R06PA3UVYHThwHvxuRWMqaGcr-PuniXahwjmQRFMEkY,91
81
+ pytrilogy-0.0.2.39.dist-info/entry_points.txt,sha256=0petKryjvvtEfTlbZC1AuMFumH_WQ9v8A19LvoS6G6c,54
82
+ pytrilogy-0.0.2.39.dist-info/top_level.txt,sha256=cAy__NW_eMAa_yT9UnUNlZLFfxcg6eimUAZ184cdNiE,8
83
+ pytrilogy-0.0.2.39.dist-info/RECORD,,
trilogy/__init__.py CHANGED
@@ -4,6 +4,6 @@ from trilogy.executor import Executor
4
4
  from trilogy.parser import parse
5
5
  from trilogy.constants import CONFIG
6
6
 
7
- __version__ = "0.0.2.38"
7
+ __version__ = "0.0.2.39"
8
8
 
9
9
  __all__ = ["parse", "Executor", "Dialects", "Environment", "CONFIG"]
trilogy/core/models.py CHANGED
@@ -3385,7 +3385,7 @@ class Environment(BaseModel):
3385
3385
 
3386
3386
  def __init__(self, **data):
3387
3387
  super().__init__(**data)
3388
- self.concepts["_env_working_path"] = Concept(
3388
+ concept = Concept(
3389
3389
  name="_env_working_path",
3390
3390
  namespace=self.namespace,
3391
3391
  lineage=Function(
@@ -3397,6 +3397,7 @@ class Environment(BaseModel):
3397
3397
  datatype=DataType.STRING,
3398
3398
  purpose=Purpose.CONSTANT,
3399
3399
  )
3400
+ self.add_concept(concept)
3400
3401
 
3401
3402
  @classmethod
3402
3403
  def from_file(cls, path: str | Path) -> "Environment":