jboth commited on
Commit
3e92d0d
·
verified ·
1 Parent(s): 9581637

Upload pytorch3d_stub/pytorch3d/renderer/__init__.py with huggingface_hub

Browse files
pytorch3d_stub/pytorch3d/renderer/__init__.py CHANGED
@@ -6,7 +6,7 @@ import warnings
6
 
7
  def __getattr__(name):
8
  """Catch-all: return a dummy class/function for any missing attribute."""
9
- if name.startswith("_"):
10
  raise AttributeError(name)
11
  warnings.warn(f"pytorch3d.renderer stub: {name} not implemented, returning dummy", stacklevel=2)
12
  class _Dummy:
 
6
 
7
  def __getattr__(name):
8
  """Catch-all: return a dummy class/function for any missing attribute."""
9
+ if name.startswith("__") and name.endswith("__"):
10
  raise AttributeError(name)
11
  warnings.warn(f"pytorch3d.renderer stub: {name} not implemented, returning dummy", stacklevel=2)
12
  class _Dummy: