Project.sync#
- Project.sync(other, *, bidirectional=False, dry_run=False, **kwargs)[source]
Copy missing reports to another project.
Reports are matched using the
report_idcolumn returned byProject.summarize().frame(). Setbidirectional=Trueto 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 toother. IfTrue, 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
otheris a mode string. For example, passworkspacefor"hub"ortracking_urifor"mlflow".
- Returns:
- resultpandas.DataFrame
Synchronization status indexed by
report_id. Thedirectioncolumn is"outbound"from this project toother,"inbound"fromotherto this project, or missing for skipped reports. Thestatuscolumn is"planned","transferred", or"skipped".