class documentation
class MigrationRunner(object): (source)
Constructor: MigrationRunner(head, destination, _revisions, _admin_revisions)
Class for running FiftyOne migrations.
Parameters | |
head | the current revision |
destination | the destination revision |
Method | __init__ |
Undocumented |
Method | run |
Runs any required migrations on the specified dataset. |
Method | run |
Runs any required admin revisions. |
Property | admin |
The list of admin revisions that will be run by run_admin . |
Property | destination |
The destination revision. |
Property | direction |
The direction of the migration runner; one of ("up", "down"). |
Property | has |
Whether there are any admin revisions to run. |
Property | has |
Whether there are any revisions to run. |
Property | head |
The head revision. |
Property | revisions |
The list of revisions that will be run by run . |
Instance Variable | _admin |
Undocumented |
Instance Variable | _destination |
Undocumented |
Instance Variable | _direction |
Undocumented |
Instance Variable | _head |
Undocumented |
Instance Variable | _revisions |
Undocumented |