| 249 | |
| 250 | @dataclass |
| 251 | class Ref(Node): |
| 252 | name: str |
| 253 | _repository: GraphQLId |
| 254 | target: GitObject |
| 255 | |
| 256 | def repository(self, info: GraphQLResolveInfo) -> Repository: |
| 257 | return github_state(info).repositories[self._repository] |
| 258 | |
| 259 | |
| 260 | @dataclass |