| 20 | variable_attributes_cache = {} |
| 21 | |
| 22 | class Variable: |
| 23 | def __init__(self, type, program): |
| 24 | self.type = type |
| 25 | self.program = program |
| 26 | def __hash__(self) -> int: |
| 27 | return hash(self.program) |
| 28 | def __eq__(self, __value: object) -> bool: |
| 29 | if isinstance(__value, Variable): |
| 30 | return self.program == __value.program |
| 31 | else: |
| 32 | return False |
| 33 | def __repr__(self) -> str: |
| 34 | return self.program |
| 35 | |
| 36 | def final_execute(variable: Variable, sparql_executor): |
| 37 | program = variable.program |
no outgoing calls
no test coverage detected