@@ -66,7 +66,7 @@ class Float64:
66
66
- `inner_value`: float object.
67
67
"""
68
68
69
- class PyVarChar :
69
+ class VarChar :
70
70
"""Represent VarChar in PostgreSQL and String in Rust."""
71
71
72
72
def __init__ (self : Self , inner_value : str ) -> None :
@@ -78,7 +78,7 @@ class PyVarChar:
78
78
- `inner_value`: str object.
79
79
"""
80
80
81
- class PyText :
81
+ class Text :
82
82
"""Represent TEXT in PostgreSQL and String ins Rust."""
83
83
84
84
def __init__ (self : Self , inner_value : str ) -> None :
@@ -90,7 +90,7 @@ class PyText:
90
90
- `inner_value`: str object.
91
91
"""
92
92
93
- class PyJSONB :
93
+ class JSONB :
94
94
"""Represent JSONB field in PostgreSQL and Value in Rust."""
95
95
96
96
def __init__ (
@@ -105,7 +105,7 @@ class PyJSONB:
105
105
- `value`: value for the JSONB field.
106
106
"""
107
107
108
- class PyJSON :
108
+ class JSON :
109
109
"""Represent JSON field in PostgreSQL and Value in Rust."""
110
110
111
111
def __init__ (
@@ -120,7 +120,7 @@ class PyJSON:
120
120
- `value`: value for the JSONB field.
121
121
"""
122
122
123
- class PyMacAddr6 :
123
+ class MacAddr6 :
124
124
"""Represents MACADDR in PostgreSQL."""
125
125
126
126
def __init__ (self , value : str ) -> None :
@@ -130,7 +130,7 @@ class PyMacAddr6:
130
130
- `value`: value for MACADDR field.
131
131
"""
132
132
133
- class PyMacAddr8 :
133
+ class MacAddr8 :
134
134
"""Represents MACADDR8 in PostgreSQL."""
135
135
136
136
def __init__ (self , value : str ) -> None :
@@ -140,19 +140,19 @@ class PyMacAddr8:
140
140
- `value`: value for MACADDR8 field.
141
141
"""
142
142
143
- class PyCustomType :
143
+ class CustomType :
144
144
def __init__ (self , value : bytes ) -> None : ...
145
145
146
146
Coordinates : TypeAlias = list [int | float ] | set [int | float ] | tuple [int | float , int | float ]
147
147
PairsOfCoordinates : TypeAlias = (
148
148
list [Coordinates | int | float ] | set [Coordinates | int | float ] | tuple [Coordinates | int | float , ...]
149
149
)
150
150
151
- class PyPoint :
151
+ class Point :
152
152
"""Represent point field in PostgreSQL and Point in Rust."""
153
153
154
154
def __init__ (self : Self , value : Coordinates ) -> None :
155
- """Create new instance of PyPoint .
155
+ """Create new instance of Point .
156
156
157
157
It accepts any pair(List, Tuple or Set)
158
158
of int/float numbers in every combination.
@@ -161,11 +161,11 @@ class PyPoint:
161
161
- `value`: pair of int/float numbers in every combination.
162
162
"""
163
163
164
- class PyBox :
164
+ class Box :
165
165
"""Represent box field in PostgreSQL and Rect in Rust."""
166
166
167
167
def __init__ (self : Self , value : PairsOfCoordinates ) -> None :
168
- """Create new instance of PyBox .
168
+ """Create new instance of Box .
169
169
170
170
You need to pass any of this structures:
171
171
- sequence(List, Tuple or Set) of two sequences(List, Tuple or Set),
@@ -177,11 +177,11 @@ class PyBox:
177
177
of int/float numbers in every combination.
178
178
"""
179
179
180
- class PyPath :
180
+ class Path :
181
181
"""Represent path field in PostgreSQL and LineString in Rust."""
182
182
183
183
def __init__ (self : Self , value : PairsOfCoordinates ) -> None :
184
- """Create new instance of PyPath .
184
+ """Create new instance of Path .
185
185
186
186
You need to pass any of this structures:
187
187
- sequence(List, Tuple or Set) of sequences(List, Tuple or Set),
@@ -193,11 +193,11 @@ class PyPath:
193
193
- `value`: any valid structure with int/float numbers in every combination.
194
194
"""
195
195
196
- class PyLine :
196
+ class Line :
197
197
"""Represent line field in PostgreSQL and LineSegment in Rust."""
198
198
199
199
def __init__ (self : Self , value : PairsOfCoordinates ) -> None :
200
- """Create new instance of PyLine .
200
+ """Create new instance of Line .
201
201
202
202
You need to pass any of this structures:
203
203
- sequence of three int/float numbers(a, b, c)
@@ -206,11 +206,11 @@ class PyLine:
206
206
- `value`: any valid structure with int/float numbers.
207
207
"""
208
208
209
- class PyLineSegment :
209
+ class LineSegment :
210
210
"""Represent lseg field in PostgreSQL and LineSegment in Rust."""
211
211
212
212
def __init__ (self : Self , value : PairsOfCoordinates ) -> None :
213
- """Create new instance of PyLineSegment .
213
+ """Create new instance of LineSegment .
214
214
215
215
You need to pass any of this structures:
216
216
- sequence(List, Tuple or Set) of two sequences(List, Tuple or Set),
@@ -222,14 +222,14 @@ class PyLineSegment:
222
222
- `value`: any valid structure with int/float numbers in every combination.
223
223
"""
224
224
225
- class PyCircle :
225
+ class Circle :
226
226
"""Represent circle field in PostgreSQL and Circle in Rust."""
227
227
228
228
def __init__ (
229
229
self : Self ,
230
230
value : list [int | float ] | set [int | float ] | tuple [int | float , int | float , int | float ],
231
231
) -> None :
232
- """Create new instance of PyCircle .
232
+ """Create new instance of Circle .
233
233
234
234
You need to pass any of this structures:
235
235
- sequence of three int/float numbers(x, y, r)
@@ -390,9 +390,9 @@ class JSONBArray:
390
390
self : Self ,
391
391
inner : typing .Sequence [
392
392
dict [str , typing .Any ]
393
- | PyJSONB
393
+ | JSONB
394
394
| typing .Sequence [dict [str , typing .Any ]]
395
- | typing .Sequence [PyJSONB ]
395
+ | typing .Sequence [JSONB ]
396
396
| typing .Sequence [typing .Any ]
397
397
],
398
398
) -> None :
@@ -409,9 +409,9 @@ class JSONArray:
409
409
self : Self ,
410
410
inner : typing .Sequence [
411
411
dict [str , typing .Any ]
412
- | PyJSON
412
+ | JSON
413
413
| typing .Sequence [dict [str , typing .Any ]]
414
- | typing .Sequence [PyJSON ]
414
+ | typing .Sequence [JSON ]
415
415
| typing .Sequence [typing .Any ]
416
416
],
417
417
) -> None :
@@ -478,7 +478,7 @@ class MacAddr6Array:
478
478
479
479
def __init__ (
480
480
self : Self ,
481
- inner : typing .Sequence [PyMacAddr6 | typing .Sequence [PyMacAddr6 ] | typing .Any ,],
481
+ inner : typing .Sequence [MacAddr6 | typing .Sequence [MacAddr6 ] | typing .Any ,],
482
482
) -> None :
483
483
"""Create new instance of MacAddr6Array.
484
484
@@ -491,7 +491,7 @@ class MacAddr8Array:
491
491
492
492
def __init__ (
493
493
self : Self ,
494
- inner : typing .Sequence [PyMacAddr8 | typing .Sequence [PyMacAddr8 ] | typing .Any ,],
494
+ inner : typing .Sequence [MacAddr8 | typing .Sequence [MacAddr8 ] | typing .Any ,],
495
495
) -> None :
496
496
"""Create new instance of MacAddr8Array.
497
497
@@ -517,7 +517,7 @@ class PointArray:
517
517
518
518
def __init__ (
519
519
self : Self ,
520
- inner : typing .Sequence [PyPoint | typing .Sequence [PyPoint ] | typing .Any ,],
520
+ inner : typing .Sequence [Point | typing .Sequence [Point ] | typing .Any ,],
521
521
) -> None :
522
522
"""Create new instance of PointArray.
523
523
@@ -530,20 +530,20 @@ class BoxArray:
530
530
531
531
def __init__ (
532
532
self : Self ,
533
- inner : typing .Sequence [PyBox | typing .Sequence [PyBox ] | typing .Any ,],
533
+ inner : typing .Sequence [Box | typing .Sequence [Box ] | typing .Any ,],
534
534
) -> None :
535
535
"""Create new instance of BoxArray.
536
536
537
537
### Parameters:
538
- - `inner`: inner value, sequence of PyBox values.
538
+ - `inner`: inner value, sequence of Box values.
539
539
"""
540
540
541
541
class PathArray :
542
542
"""Represent PATH ARRAY in PostgreSQL."""
543
543
544
544
def __init__ (
545
545
self : Self ,
546
- inner : typing .Sequence [PyPath | typing .Sequence [PyPath ] | typing .Any ,],
546
+ inner : typing .Sequence [Path | typing .Sequence [Path ] | typing .Any ,],
547
547
) -> None :
548
548
"""Create new instance of PathArray.
549
549
@@ -556,7 +556,7 @@ class LineArray:
556
556
557
557
def __init__ (
558
558
self : Self ,
559
- inner : typing .Sequence [PyLine | typing .Sequence [PyLine ] | typing .Any ,],
559
+ inner : typing .Sequence [Line | typing .Sequence [Line ] | typing .Any ,],
560
560
) -> None :
561
561
"""Create new instance of LineArray.
562
562
@@ -569,7 +569,7 @@ class LsegArray:
569
569
570
570
def __init__ (
571
571
self : Self ,
572
- inner : typing .Sequence [PyLineSegment | typing .Sequence [PyLineSegment ] | typing .Any ,],
572
+ inner : typing .Sequence [LineSegment | typing .Sequence [LineSegment ] | typing .Any ,],
573
573
) -> None :
574
574
"""Create new instance of LsegArray.
575
575
@@ -582,7 +582,7 @@ class CircleArray:
582
582
583
583
def __init__ (
584
584
self : Self ,
585
- inner : typing .Sequence [PyCircle | typing .Sequence [PyCircle ] | typing .Any ,],
585
+ inner : typing .Sequence [Circle | typing .Sequence [Circle ] | typing .Any ,],
586
586
) -> None :
587
587
"""Create new instance of CircleArray.
588
588
0 commit comments