class documentation
Tools for migrating the FiftyOne database.
See :ref:`this page <database-migrations>` for more information about migrating FiftyOne deployments.
Examples:
# Print information about the current revisions of all datasets fiftyone migrate --info # Migrate the database and all datasets to the current client version fiftyone migrate --all # Migrate to a specific revision fiftyone migrate --all --version <VERSION> # Migrate a specific dataset fiftyone migrate ... --dataset-name <DATASET_NAME> # Update the database version without migrating any existing datasets fiftyone migrate
Static Method | execute |
Executes the command on the given args. |
Static Method | setup |
Setup the command-line arguments for the command. |
overrides
fiftyone.core.cli.Command.execute
Executes the command on the given args.
Parameters | |
parser | the argparse.ArgumentParser instance for the command |
args | an argparse.Namespace instance containing the arguments
for the command |
overrides
fiftyone.core.cli.Command.setup
Setup the command-line arguments for the command.
Parameters | |
parser | an argparse.ArgumentParser instance |