cql2 0.3.8__cp312-cp312-win_amd64.whl → 0.4.0__cp312-cp312-win_amd64.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.
cql2/__init__.pyi CHANGED
@@ -129,11 +129,11 @@ class Expr:
129
129
  '("landsat:scene_id" = \'LC82030282019133LGN00\')'
130
130
  """
131
131
 
132
- def to_sql(self) -> SqlQuery:
132
+ def to_sql(self) -> str:
133
133
  """Converts this cql2 expression to a SQL query.
134
134
 
135
135
  Returns:
136
- SqlQuery: The SQL query and parameters
136
+ str: The SQL query
137
137
 
138
138
  Examples:
139
139
  >>> from cql2 import Expr
@@ -160,15 +160,6 @@ class Expr:
160
160
  >>> expr = expr1 + expr2
161
161
  """
162
162
 
163
- class SqlQuery:
164
- """A SQL query"""
165
-
166
- query: str
167
- """The query, with parameterized fields."""
168
-
169
- params: list[str]
170
- """The parameters, to use for binding."""
171
-
172
163
  class ParseError(Exception):
173
164
  """An error raised when cql2 parsing fails."""
174
165
 
Binary file
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: cql2
3
- Version: 0.3.8
3
+ Version: 0.4.0
4
4
  Classifier: Programming Language :: Rust
5
5
  Classifier: Programming Language :: Python :: Implementation :: CPython
6
6
  Classifier: Programming Language :: Python :: Implementation :: PyPy
@@ -0,0 +1,9 @@
1
+ cql2-0.4.0.dist-info/METADATA,sha256=1Ma3nwLJ0yfddKdd3wDVGEMglGlGxP2JHnzp8EYSLsg,329
2
+ cql2-0.4.0.dist-info/WHEEL,sha256=4hYCffp0RsSVQAuv2PMtXQ9QS7YSHeZi4PrSg-wi2q0,96
3
+ cql2-0.4.0.dist-info/entry_points.txt,sha256=71myRgqcjlXJ5L8YfBsyaQS-Ef8mXeSlOCDwf1rrURo,33
4
+ cql2-0.4.0.dist-info/licenses/LICENSE,sha256=GBDoMt4G_b08P_Dn5o-j2fL9cj5uoWTbLO90rtO2edE,1071
5
+ cql2/__init__.py,sha256=lQIzMwXTmBW1tLuKrIKf3_nxwWMiik5UOd5CBYV22uQ,99
6
+ cql2/__init__.pyi,sha256=vt018fN00-uWGb97AdAsQw_FRz_htYpn768gCPsLHjA,4798
7
+ cql2/cql2.cp312-win_amd64.pyd,sha256=8hy213Ci9L7BZrr9VxaW2FbYN4KZdBUOSmEnbeAyt28,9295872
8
+ cql2/py.typed,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
9
+ cql2-0.4.0.dist-info/RECORD,,
@@ -1,9 +0,0 @@
1
- cql2-0.3.8.dist-info/METADATA,sha256=01ztm0YDNmq8oMrBAAX5QMZguWL5d7q6LdRhhK2fTB0,329
2
- cql2-0.3.8.dist-info/WHEEL,sha256=4hYCffp0RsSVQAuv2PMtXQ9QS7YSHeZi4PrSg-wi2q0,96
3
- cql2-0.3.8.dist-info/entry_points.txt,sha256=71myRgqcjlXJ5L8YfBsyaQS-Ef8mXeSlOCDwf1rrURo,33
4
- cql2-0.3.8.dist-info/licenses/LICENSE,sha256=GBDoMt4G_b08P_Dn5o-j2fL9cj5uoWTbLO90rtO2edE,1071
5
- cql2/__init__.py,sha256=lQIzMwXTmBW1tLuKrIKf3_nxwWMiik5UOd5CBYV22uQ,99
6
- cql2/__init__.pyi,sha256=MkRVxIO5tQR9j3xq0-HPdYuDrUspvvyqbru4FqHTbnE,5004
7
- cql2/cql2.cp312-win_amd64.pyd,sha256=k_Gx08VHA4Ru0Y2We9IP_guBKaa6TzpO78hXtfjb-So,6354944
8
- cql2/py.typed,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
9
- cql2-0.3.8.dist-info/RECORD,,
File without changes