(
self, file_path: str, *args: Any, **kwargs: Dict[str, Any]
)
| 36 | def decorator(func: Callable): |
| 37 | @wraps(func) |
| 38 | def wrapper( |
| 39 | self, file_path: str, *args: Any, **kwargs: Dict[str, Any] |
| 40 | ) -> "DataFrame": |
| 41 | suffix = Path(file_path).suffix |
| 42 | if suffix not in valid_suffixs: |
| 43 | raise ValueError( |
| 44 | f"Only {', '.join(valid_suffixs)} files are supported" |
| 45 | ) |
| 46 | return func(self, file_path, *args, **kwargs) |
| 47 | |
| 48 | return wrapper |
| 49 |
nothing calls this directly
no outgoing calls
no test coverage detected