INNER CODE UNIT · Python

Source

dotnet/sdk · .github/scripts/check_vendored_files.py:52

class Source:
    repo: str
    ref: str
    path: str
    baseline_ref_sha: str
    baseline_blob_sha: str
    scope: str

    @classmethod
    def from_dict(cls, d: dict[str, Any]) -> "Source":
        return cls(
            repo=d["repo"],
            ref=d["ref"],
            path=d["path"],
            baseline_ref_sha=d["baseline_ref_sha"],
            baseline_blob_sha=d["baseline_blob_sha"],
            scope=d.get("scope", ""),
        )

View source record →

📰 Research Paper
Loading…
⏳ Fetching content…