asyncorm package

Submodules

asyncorm.exceptions module

exception asyncorm.exceptions.AsyncOrmAppError[source]

Bases: asyncorm.exceptions.AsyncormException

Raised when there are class App or configuration errors detected.

exception asyncorm.exceptions.AsyncOrmCommandError[source]

Bases: asyncorm.exceptions.AsyncormException

Exceptions Raised when command errors

exception asyncorm.exceptions.AsyncOrmConfigError[source]

Bases: asyncorm.exceptions.AsyncormException

Raised when there are configuration errors detected.

exception asyncorm.exceptions.AsyncormException[source]

Bases: Exception

exception asyncorm.exceptions.AsyncOrmFieldError[source]

Bases: asyncorm.exceptions.AsyncormException

Raised when there are field errors detected.

exception asyncorm.exceptions.AsyncOrmMigrationError[source]

Bases: asyncorm.exceptions.AsyncormException

Raised when there are configuration errors detected.

exception asyncorm.exceptions.AsyncOrmModelDoesNotExist[source]

Bases: asyncorm.exceptions.AsyncormException

Raised when the object requested does not exist.

exception asyncorm.exceptions.AsyncOrmModelError[source]

Bases: asyncorm.exceptions.AsyncormException

Raised when there are model errors detected.

exception asyncorm.exceptions.AsyncOrmMultipleObjectsReturned[source]

Bases: asyncorm.exceptions.AsyncormException

Raised when there are model errors detected.

exception asyncorm.exceptions.AsyncOrmQuerysetError[source]

Bases: asyncorm.exceptions.AsyncormException

Raised when there are queryset errors detected.

exception asyncorm.exceptions.AsyncOrmSerializerError[source]

Bases: asyncorm.exceptions.AsyncormException

Raised when there are model errors detected.

exception asyncorm.exceptions.AsyncormTransactionRollback[source]

Bases: Exception

Raised when we want to force a transaction rollback.

asyncorm.test_case module

class asyncorm.test_case.AsyncormTestCase(methodName='runTest', loop=None)[source]

Bases: unittest.case.TestCase

coroutine_function_decorator(func)[source]
setUp()[source]

Hook method for setting up the test fixture before exercising it.

tearDown()[source]

Hook method for deconstructing the test fixture after testing it.

Module contents

asyncOrm is a fully asynchronous ORM library inspired by django’s own ORM.