wandb.Run.log_artifact() adds the latest alias to the logged version.
W&B creates an artifact version v0 and attaches it to your artifact when you log that artifact for the first time. W&B checksums the contents when you log again to the same artifact. If the artifact changed, W&B saves a new version v1.
For example, if you want your training script to pull the most recent version of a dataset, specify latest when you use that artifact. The following code example demonstrates how to download a recent dataset artifact named bike-dataset that has an alias, latest:
'best-ap50' as an alias when you log the model artifact.