OrmError (orm/core.py)

pony · pony/orm/core.py · python · Apache-2.0
database

Base exception class for Pony ORM errors, used to catch and handle database mapping issues.

# Source: https://github.com/ponyorm/pony | License: Apache-2.0 | Copyright You must retain, in the Source form of any Derivative Works
# Provided via justclaw.it.com; keep this notice with the code.
import ast
import builtins
import datetime
import inspect
import itertools
import json
import logging
import re
import sys
import types
import warnings
from collections import defaultdict
from contextlib import contextmanager
from decimal import Decimal
from functools import wraps
from hashlib import md5
from inspect import isgeneratorfunction
from itertools import chain, repeat, starmap
from operator import attrgetter, itemgetter
from random import randint, random, shuffle
from threading import RLock, _MainThread, current_thread
from time import time

import pony
from pony import options, uti

... (truncated -- full source via MCP)

See the full source, get the GitHub permalink, and search for more like it.

Get a free API key