Skip to content

Commit 18ded9f

Browse files
committed
Merge branch 'main' into develop
2 parents 5d45ae5 + 8308ca8 commit 18ded9f

File tree

7 files changed

+657
-164
lines changed

7 files changed

+657
-164
lines changed

Cargo.lock

Lines changed: 13 additions & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

Cargo.toml

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
[package]
22
name = "psqlpy"
3-
version = "0.7.6"
3+
version = "0.7.7"
44
edition = "2021"
55

66
# See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html
@@ -50,3 +50,4 @@ openssl = { version = "0.10.64", features = ["vendored"] }
5050
itertools = "0.12.1"
5151
openssl-src = "300.2.2"
5252
openssl-sys = "0.9.102"
53+
postgres_array = { git = "https://github.com/chandr-andr/rust-postgres-array.git", branch = "psqlpy" }

docs/usage/types/supported_types.md

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -35,6 +35,12 @@ Here you can find all types supported by `PSQLPy`. If PSQLPy isn't `-`, you can
3535
| IPv6Address | - | INET |
3636
| decimal.Decimal | - | NUMERIC |
3737
| int/str | Money | MONEY |
38+
| Point | PyPoint | POINT |
39+
| Box | PyBox | BOX |
40+
| Path | PyPath | PATH |
41+
| Line | PyLine | LINE |
42+
| Line Segment | PyLineSegment | LSEG |
43+
| Circle | PyCircle | CIRCLE |
3844

3945
::: important
4046
DECIMAL PostgreSQL type isn't supported, use NUMERIC instead.

python/psqlpy/_internal/extra_types.pyi

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -94,6 +94,7 @@ class PyJSONB:
9494
value: typing.Union[
9595
dict[str, typing.Any],
9696
list[dict[str, typing.Any]],
97+
list[typing.Any],
9798
],
9899
) -> None:
99100
"""Create new instance of PyJSON.B.
@@ -112,6 +113,7 @@ class PyJSON:
112113
value: typing.Union[
113114
dict[str, typing.Any],
114115
list[dict[str, typing.Any]],
116+
list[typing.Any],
115117
],
116118
) -> None:
117119
"""Create new instance of PyJSON.

0 commit comments

Comments
 (0)