Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/chrismld/aws-lambda-redshift-copy
/ types & classes
Types & classes
112 in github.com/chrismld/aws-lambda-redshift-copy
⨍
Functions
902
◇
Types & classes
112
↳
Endpoints
36
↓ 118 callers
Class
Range
Python representation for a PostgreSQL |range|_ type. :param lower: lower bound for the range. `!None` means unbound :param upper: upper boun
src/psycopg2/_range.py:33
↓ 26 callers
Class
FixedOffsetTimezone
Fixed offset in minutes east from UTC. This is exactly the implementation__ found in Python 2.3.x documentation, with a small change to the `
src/psycopg2/tz.py:34
↓ 8 callers
Class
py3_raises_typeerror
src/psycopg2/tests/testutils.py:345
↓ 7 callers
Class
RangeCaster
Helper class to convert between `Range` and PostgreSQL range types. Objects of this class are usually created by `register_range()`. Manual c
src/psycopg2/_range.py:254
↓ 6 callers
Class
NumericRange
A `Range` suitable to pass Python numeric types to a PostgreSQL range. PostgreSQL types :sql:`int4range`, :sql:`int8range`, :sql:`numrange` are
src/psycopg2/_range.py:420
↓ 5 callers
Class
PoolError
src/psycopg2/pool.py:31
↓ 3 callers
Class
Inet
Wrap a string to allow for correct SQL-quoting of inet values. Note that this adapter does NOT check the passed value to make sure it really
src/psycopg2/extras.py:496
↓ 3 callers
Class
Json
An `~psycopg2.extensions.ISQLQuote` wrapper to adapt a Python object to :sql:`json` data type. `!Json` can be used to wrap any object su
src/psycopg2/_json.py:54
↓ 3 callers
Class
MinimalRead
A file wrapper exposing the minimal interface to copy from.
src/psycopg2/tests/test_copy.py:44
↓ 2 callers
Class
B
src/psycopg2/tests/test_types_basic.py:359
↓ 2 callers
Class
Foo
src/psycopg2/tests/test_types_extras.py:113
↓ 2 callers
Class
HstoreAdapter
Adapt a Python dict to the hstore syntax.
src/psycopg2/extras.py:604
↓ 2 callers
Class
IntRange
src/psycopg2/tests/test_types_extras.py:1326
↓ 2 callers
Class
MyJson
src/psycopg2/tests/test_types_extras.py:861
↓ 1 callers
Class
BrokenRead
src/psycopg2/tests/test_copy.py:344
↓ 1 callers
Class
BrokenWrite
src/psycopg2/tests/test_copy.py:361
↓ 1 callers
Class
C
src/psycopg2/tests/test_types_basic.py:360
↓ 1 callers
Class
CompositeCaster
Helps conversion of a PostgreSQL composite type into a Python object. The class is usually created by the `register_composite()` function. Yo
src/psycopg2/extras.py:805
↓ 1 callers
Class
ConnectionStub
A `connection` wrapper allowing analysis of the `poll()` calls.
src/psycopg2/tests/test_green.py:32
↓ 1 callers
Class
DateRange
Represents :sql:`daterange` values.
src/psycopg2/_range.py:428
↓ 1 callers
Class
DateTimeRange
Represents :sql:`tsrange` values.
src/psycopg2/_range.py:432
↓ 1 callers
Class
DateTimeTZRange
Represents :sql:`tstzrange` values.
src/psycopg2/_range.py:436
↓ 1 callers
Class
LocalTimezone
Platform idea of local timezone. This is the exact implementation from the Python 2.3 documentation.
src/psycopg2/tz.py:105
↓ 1 callers
Class
MinimalWrite
A file wrapper exposing the minimal interface to copy to.
src/psycopg2/tests/test_copy.py:55
↓ 1 callers
Class
PollableStub
A 'pollable' wrapper allowing analysis of the `poll()` calls.
src/psycopg2/tests/test_async.py:37
↓ 1 callers
Class
PositiveIntRange
src/psycopg2/tests/test_types_extras.py:1327
↓ 1 callers
Class
StupidCursor
src/psycopg2/tests/test_cursor.py:479
↓ 1 callers
Class
Sub
src/psycopg2/tests/test_types_basic.py:350
↓ 1 callers
Class
SubConnection
src/psycopg2/tests/test_connection.py:262
↓ 1 callers
Class
Whatever
src/psycopg2/tests/test_copy.py:252
Class
A
src/psycopg2/tests/test_types_basic.py:358
Class
AbstractConnectionPool
Generic key-based pooling code.
src/psycopg2/pool.py:35
Class
AdaptSubclassTest
src/psycopg2/tests/test_types_basic.py:347
Class
AdaptTypeTestCase
src/psycopg2/tests/test_types_extras.py:452
Class
AsyncTests
src/psycopg2/tests/test_async.py:52
Class
AutocommitTests
src/psycopg2/tests/test_connection.py:972
Class
ByteaParserTest
Unit test for our bytea format parser.
src/psycopg2/tests/test_types_basic.py:398
Class
CancelTests
src/psycopg2/tests/test_cancel.py:35
Class
CommonDatetimeTestsMixin
src/psycopg2/tests/test_dates.py:30
Class
ConnectTestCase
src/psycopg2/tests/test_module.py:34
Class
ConnectingTestCase
A test case providing connections for tests. A connection for the test is always available as `self.conn`. Others can be created with `self.c
src/psycopg2/tests/testutils.py:80
Class
ConnectionTests
src/psycopg2/tests/test_connection.py:41
Class
ConnectionTwoPhaseTests
src/psycopg2/tests/test_connection.py:454
Class
CopyTests
src/psycopg2/tests/test_copy.py:64
Class
CursorTests
src/psycopg2/tests/test_cursor.py:33
Class
DatabaseAPI20Test
Test a database self.driver for DB API 2.0 compatibility. This implementation tests Gadfly, but the TestCase is structured so that ot
src/psycopg2/tests/dbapi20.py:79
Class
DateTimeAllocationBugTestCase
src/psycopg2/tests/test_bugX000.py:29
Class
DatetimeTests
Tests for the datetime based date handling in psycopg2.
src/psycopg2/tests/test_dates.py:95
Class
DeadlockSerializationTests
Test deadlock and serialization failure errors.
src/psycopg2/tests/test_transaction.py:92
Class
DecimalEncoder
src/psycopg2/tests/test_types_extras.py:884
Class
DictComposite
src/psycopg2/tests/test_types_extras.py:775
Class
DictConnection
A connection that uses `DictCursor` automatically.
src/psycopg2/extras.py:103
Class
DictCursor
A cursor that keeps a list of column name -> index mappings.
src/psycopg2/extras.py:109
Class
DictCursorBase
Base class for all dict-like cursors.
src/psycopg2/extras.py:46
Class
DictRow
A row object that allow by-column-name access to data.
src/psycopg2/extras.py:133
Class
ExceptionsTestCase
src/psycopg2/tests/test_module.py:143
Class
ExtrasDictCursorTests
Test if DictCursor extension class works.
src/psycopg2/tests/test_extras_dictcursor.py:25
Class
FixedOffsetTimezoneTests
src/psycopg2/tests/test_dates.py:543
Class
FromTicksTestCase
src/psycopg2/tests/test_dates.py:521
Class
GreenTestCase
src/psycopg2/tests/test_green.py:46
Class
HstoreTestCase
src/psycopg2/tests/test_types_extras.py:133
Class
IsolationLevelsTestCase
src/psycopg2/tests/test_connection.py:274
Class
JsonTestCase
src/psycopg2/tests/test_types_extras.py:852
Class
JsonbTestCase
src/psycopg2/tests/test_types_extras.py:1075
Class
LargeObject64Tests
src/psycopg2/tests/test_lobject.py:463
Class
LargeObjectNot64Tests
src/psycopg2/tests/test_lobject.py:486
Class
LargeObjectTestCase
src/psycopg2/tests/test_lobject.py:49
Class
LargeObjectTests
src/psycopg2/tests/test_lobject.py:74
Class
LargeObjectTruncateTests
src/psycopg2/tests/test_lobject.py:403
Class
LoggingConnection
A connection that logs all queries to a file or logger__ object. .. __: http://docs.python.org/library/logging.html
src/psycopg2/extras.py:343
Class
LoggingCursor
A cursor that logs queries using its connection logging facilities.
src/psycopg2/extras.py:388
Class
MinTimeLoggingConnection
A connection that logs queries based on execution time. This is just an example of how to sub-class `LoggingConnection` to provide some extra
src/psycopg2/extras.py:404
Class
MinTimeLoggingCursor
The cursor sub-class companion to `MinTimeLoggingConnection`.
src/psycopg2/extras.py:428
Class
MyConn
src/psycopg2/tests/test_async.py:325
Class
MyConn
src/psycopg2/tests/test_with.py:116
Class
MyCurs
src/psycopg2/tests/test_with.py:192
Class
NamedTupleConnection
A connection that uses `NamedTupleCursor` automatically.
src/psycopg2/extras.py:262
Class
NamedTupleCursor
A cursor that generates results as `~collections.namedtuple`. `!fetch*()` methods will return named tuples instead of regular tuples, so thei
src/psycopg2/extras.py:268
Class
NamedTupleCursorTest
src/psycopg2/tests/test_extras_dictcursor.py:232
Class
NoneAdapter
Adapt None to NULL. This adapter is not used normally as a fast path in mogrify uses NULL, but it makes easier to adapt composite types.
src/psycopg2/extensions.py:141
Class
NotifiesTests
src/psycopg2/tests/test_notify.py:38
Class
NumberRangeAdapter
Adapt a range if the subtype doesn't need quotes.
src/psycopg2/_range.py:446
Class
PersistentConnectionPool
A pool that assigns persistent connections to different threads. Note that this connection pool generates by itself the required keys using
src/psycopg2/pool.py:184
Class
Psycopg2TPCTests
src/psycopg2/tests/test_psycopg2_dbapi20.py:49
Class
Psycopg2Tests
src/psycopg2/tests/test_psycopg2_dbapi20.py:33
Class
QueryCancellationTests
Tests for query cancellation.
src/psycopg2/tests/test_transaction.py:227
Class
QuotingTestCase
r"""Checks the correct quoting of strings and binary objects. Since ver. 8.1, PostgreSQL is moving towards SQL standard conforming strings, w
src/psycopg2/tests/test_quote.py:32
Class
RangeAdapter
`ISQLQuote` adapter for `Range` subclasses. This is an abstract class: concrete classes must set a `name` class attribute or override `getquo
src/psycopg2/_range.py:206
Class
RangeCasterTestCase
src/psycopg2/tests/test_types_extras.py:1414
Class
RangeTestCase
src/psycopg2/tests/test_types_extras.py:1163
Class
RealDictConnection
A connection that uses `RealDictCursor` automatically.
src/psycopg2/extras.py:201
Class
RealDictCursor
A cursor that uses a real dict as the base type for rows. Note that this cursor is extremely specialized and does not allow the normal access
src/psycopg2/extras.py:207
Class
RealDictRow
A `!dict` subclass representing a data record.
src/psycopg2/extras.py:236
Class
SQL_IN
Adapt any iterable to an SQL quotable object.
src/psycopg2/extensions.py:117
Class
SimpleConnectionPool
A connection pool that can't be shared across different threads.
src/psycopg2/pool.py:141
Class
StolenReferenceTestCase
src/psycopg2/tests/test_bug_gc.py:32
Class
TestExtensionModule
src/psycopg2/tests/test_module.py:302
Class
TestQuotedString
src/psycopg2/tests/test_quote.py:158
Class
ThreadedConnectionPool
A connection pool that works with the threading module.
src/psycopg2/pool.py:149
Class
TransactionControlTests
src/psycopg2/tests/test_connection.py:830
next →
1–100 of 112, ranked by callers