(self)
| 9 | self.limit = limit |
| 10 | |
| 11 | def __iter__(self) -> Iterator: |
| 12 | if self.limit: |
| 13 | for _ in range(self.limit): |
| 14 | yield [] |
| 15 | else: |
| 16 | while True: |
| 17 | yield [] |
| 18 | |
| 19 | |
| 20 | class DataModuleOverfit(LightningDataModule): |
nothing calls this directly
no outgoing calls
no test coverage detected