forked from bschnurr/python-type-stubs
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathdependency.pyi
More file actions
74 lines (69 loc) · 3.32 KB
/
Copy pathdependency.pyi
File metadata and controls
74 lines (69 loc) · 3.32 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
from typing import Any
from .. import exc as sa_exc
from . import util as mapperutil
from .interfaces import (
ONETOMANY as ONETOMANY,
MANYTOONE as MANYTOONE,
MANYTOMANY as MANYTOMANY
)
class DependencyProcessor(object):
prop: Any = ...
cascade: Any = ...
mapper: Any = ...
parent: Any = ...
secondary: Any = ...
direction: Any = ...
post_update: Any = ...
passive_deletes: Any = ...
passive_updates: Any = ...
enable_typechecks: Any = ...
key: Any = ...
def __init__(self, prop) -> None: ...
@classmethod
def from_relationship(cls, prop): ...
def hasparent(self, state): ...
def per_property_preprocessors(self, uow): ...
def per_property_flush_actions(self, uow): ...
def per_state_flush_actions(self, uow, states, isdelete): ...
def presort_deletes(self, uowcommit, states): ...
def presort_saves(self, uowcommit, states): ...
def process_deletes(self, uowcommit, states): ...
def process_saves(self, uowcommit, states): ...
def prop_has_changes(self, uowcommit, states, isdelete): ...
class OneToManyDP(DependencyProcessor):
def per_property_dependencies(self, uow, parent_saves, child_saves, parent_deletes,
child_deletes, after_save, before_delete): ...
def per_state_dependencies(self, uow, save_parent, delete_parent, child_action,
after_save, before_delete, isdelete, childisdelete): ...
def presort_deletes(self, uowcommit, states): ...
def presort_saves(self, uowcommit, states): ...
def process_deletes(self, uowcommit, states): ...
def process_saves(self, uowcommit, states): ...
class ManyToOneDP(DependencyProcessor):
def __init__(self, prop) -> None: ...
def per_property_dependencies(self, uow, parent_saves, child_saves, parent_deletes,
child_deletes, after_save, before_delete): ...
def per_state_dependencies(self, uow, save_parent, delete_parent, child_action,
after_save, before_delete, isdelete, childisdelete): ...
def presort_deletes(self, uowcommit, states): ...
def presort_saves(self, uowcommit, states): ...
def process_deletes(self, uowcommit, states): ...
def process_saves(self, uowcommit, states): ...
class DetectKeySwitch(DependencyProcessor):
def per_property_preprocessors(self, uow): ...
def per_property_flush_actions(self, uow): ...
def per_state_flush_actions(self, uow, states, isdelete): ...
def presort_deletes(self, uowcommit, states): ...
def presort_saves(self, uow, states): ...
def prop_has_changes(self, uow, states, isdelete): ...
def process_deletes(self, uowcommit, states): ...
def process_saves(self, uowcommit, states): ...
class ManyToManyDP(DependencyProcessor):
def per_property_dependencies(self, uow, parent_saves, child_saves, parent_deletes,
child_deletes, after_save, before_delete): ...
def per_state_dependencies(self, uow, save_parent, delete_parent, child_action,
after_save, before_delete, isdelete, childisdelete): ...
def presort_deletes(self, uowcommit, states): ...
def presort_saves(self, uowcommit, states): ...
def process_deletes(self, uowcommit, states): ...
def process_saves(self, uowcommit, states): ...