INNER CODE UNIT · Python

from_dict

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

    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", ""),
        )


@dataclass
class Entry:
    id: str
    local_path: str
    notes: str
    sources: list[Source]
    area_labels: object

View source record →

📰 Research Paper
Loading…
⏳ Fetching content…