Skip to content

Commit

Permalink
Latest
Browse files Browse the repository at this point in the history
  • Loading branch information
Shapedsundew9 committed May 5, 2024
1 parent e12f320 commit ede60f1
Show file tree
Hide file tree
Showing 9 changed files with 5 additions and 4 deletions.
1 change: 1 addition & 0 deletions pypgtable/__init__.py
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
"""Direct imports."""

from obscure_password import obscure

from .raw_table import default_config, raw_table
Expand Down
1 change: 0 additions & 1 deletion pypgtable/common.py
Original file line number Diff line number Diff line change
@@ -1,6 +1,5 @@
"""Common functions for database."""


from random import random
from typing import Any, Callable, Generator

Expand Down
1 change: 0 additions & 1 deletion pypgtable/database.py
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,6 @@
of a single threaded process.
"""


# TODO: Look into VACUUM & ANALYZE
# See https://bbengfort.github.io/2017/12/psycopg2-transactions/

Expand Down
1 change: 1 addition & 0 deletions pypgtable/pypgtable_typing.py
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
"""pypgtable typing."""

from typing import Any, Callable, LiteralString, NotRequired, TypedDict, Literal

from .row_iterators import dict_iter, gen_iter, namedtuple_iter, tuple_iter
Expand Down
1 change: 1 addition & 0 deletions pypgtable/row_iterators.py
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
"""Row iterators."""

from collections import namedtuple
from logging import DEBUG, Logger, NullHandler, getLogger
from typing import Any, Callable, Self, Iterable
Expand Down
1 change: 0 additions & 1 deletion pypgtable/table.py
Original file line number Diff line number Diff line change
@@ -1,6 +1,5 @@
"""Application layer wrapper for raw_table."""


from copy import deepcopy
from json import load
from logging import DEBUG, NullHandler, getLogger, Logger
Expand Down
1 change: 1 addition & 0 deletions pypgtable/validators.py
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
"""Validators for pypgtable."""

from copy import deepcopy
from json import load
from logging import Logger, NullHandler, getLogger
Expand Down
1 change: 1 addition & 0 deletions tests/__init__.py
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
"""Ensures module path is in the python path."""

import os
import sys

Expand Down
1 change: 0 additions & 1 deletion tests/test_raw_table_integration.py
Original file line number Diff line number Diff line change
@@ -1,6 +1,5 @@
"""Unit tests for raw_table.py."""


from copy import deepcopy
from inspect import stack
from itertools import count
Expand Down

0 comments on commit ede60f1

Please sign in to comment.