def METHOD_NAME(
    url,  # type: str
    fingerprint,  # type: Fingerprint
    verified,  # type: bool
):
    # type: (...) -> FileArtifact
    fingerprinted_artifact = Artifact.from_url(url, fingerprint, verified=verified)
    if not isinstance(fingerprinted_artifact, FileArtifact):
        raise ValueError(
            "Expected a file artifact, given url {url} which is a {artifact}.".format(
                url=url, artifact=fingerprinted_artifact
            )
        )
    return fingerprinted_artifact