1/27/2024 0 Comments Revisions cast![]() ![]() Has_branch_labels, cast( _RevisionMapType, map_) "Revision %s is present more than once" % revision. ![]() Map_: _InterimRevisionMapType = sqlautil. ![]() # Ordering required for some tests to pass (but not required in """memoized attribute, initializes the revision map from the These are revisions that have a ``down_revision`` of None,ĭef _real_heads( self) -> Tuple:ĭef _real_bases( self) -> Tuple:ĭef _revision_map( self) -> _RevisionMapType: :return: a tuple of string revision numbers. :class:`.Script` subclasses within regular Alembic use. Of :class:`.Revision` instances to be used. :param generator: a zero-arg callable that will generate an iterable """Construct a new :class:`.RevisionMap`. Themselves instances of :class:`.Revision`.ĭef _init_( self, generator: Callable, Iterable]) -> None: :class:`.RevisionMap` is used by :class:`.ScriptDirectory` to maintainĪnd traverse the collection of :class:`.Script` objects, which are """Maintains a map of :class:`.Revision` objects. "Multiple heads are present for given argument '%s' "ĭef _init_( self, message: str, argument: str) -> None:ĭef _init_( self, revisions: Sequence) -> None:Ĭlass Dependenc圜ycleDetected( CycleDetected):ĭef _init_( self, revision: str) -> None:Ĭlass DependencyLoopDetected( Dependenc圜ycleDetected, LoopDetected):ĭef _init_( self, revision: Sequence) -> None: "Revision %s is not an ancestor of revision %s"ĭef _init_( self, heads: Sequence, argument: Optional) -> None: Self, lower: _RevisionIdentifierType, upper: _RevisionIdentifierType compile( = Ĭlass RangeNotAncestorError( RevisionError): RevisionError Class RangeNotAncestorError Class _init_ Function MultipleHeads Class _init_ Function ResolutionError Class _init_ Function CycleDetected Class _init_ Function Dependenc圜ycleDetected Class _init_ Function LoopDetected Class _init_ Function DependencyLoopDetected Class _init_ Function RevisionMap Class _init_ Function heads Function bases Function _real_heads Function _real_bases Function _revision_map Function _detect_cycles Function _map_branch_labels Function _add_branches Function _add_depends_on Function _normalize_depends_on Function add_revision Function get_current_head Function _get_base_revisions Function get_revisions Function get_revision Function _resolve_branch Function _revision_for_ident Function _filter_into_branch_heads Function filter_for_lineage Function _shares_lineage Function _resolve_revision_number Function iterate_revisions Function _get_descendant_nodes Function fn Function fn Function fn Function _get_ancestor_nodes Function fn Function fn Function _iterate_related_revisions Function _topological_sort Function get_ancestors Function _walk Function _parse_downgrade_target Function _parse_upgrade_target Function _collect_downgrade_revisions Function _collect_upgrade_revisions Function _get_all_current Function Revision Class verify_rev_id Function _init_ Function _repr_ Function add_nextrev Function _all_down_revisions Function _normalized_down_revisions Function _versioned_down_revisions Function is_head Function _is_real_head Function is_base Function _is_real_base Function is_branch_point Function _is_real_branch_point Function is_merge_point Function tuple_rev_as_scalar Function tuple_rev_as_scalar Function tuple_rev_as_scalar Function is_revision Function
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |