(self, storage=None, *args, **kwargs)
| 217 | storage = None |
| 218 | |
| 219 | def __init__(self, storage=None, *args, **kwargs): |
| 220 | if storage is not None: |
| 221 | self.storage = storage |
| 222 | if self.storage is None: |
| 223 | raise ImproperlyConfigured( |
| 224 | "The staticfiles storage finder %r " |
| 225 | "doesn't have a storage class " |
| 226 | "assigned." % self.__class__ |
| 227 | ) |
| 228 | # Make sure we have a storage instance here. |
| 229 | if not isinstance(self.storage, (Storage, LazyObject)): |
| 230 | self.storage = self.storage() |
| 231 | super().__init__(*args, **kwargs) |
| 232 | |
| 233 | def find(self, path, find_all=False): |
| 234 | """ |
nothing calls this directly
no test coverage detected