Project.sync#

Project.sync(other, *, bidirectional=False, dry_run=False, **kwargs)[source]

Copy missing reports to another project.

Reports are matched using the report_id column returned by Project.summarize().frame(). Set bidirectional=True to copy missing reports in both directions.

Parameters:
otherProject or {“hub”, “local”, “mlflow”}

Destination project. When a mode is given, build the destination with this project’s name and the mode-specific keyword arguments.

bidirectionalbool, default=False

If False, transfer reports from this project to other. If True, also transfer reports missing from this project.

dry_runbool, default=False

Return the planned operations without loading or storing reports.

**kwargsdict

Mode-specific arguments used to build the destination when other is a mode string. For example, pass workspace for "hub" or tracking_uri for "mlflow".

Returns:
resultpandas.DataFrame

Synchronization status indexed by report_id. The direction column is "outbound" from this project to other, "inbound" from other to this project, or missing for skipped reports. The status column is "planned", "transferred", or "skipped".