- Sort Score
- Num 10 results
- Language All
Results 1 - 4 of 4 for __file__ (0.08 seconds)
-
tests/test_exception_handlers.py
client = TestClient(app, raise_server_exceptions=True) with pytest.raises(ValueError) as exc_info: client.get("/dependency-with-yield") last_frame = exc_info.traceback[-1] assert str(last_frame.path) == __file__
Created: Sun Dec 28 07:19:09 GMT 2025 - Last Modified: Tue Dec 03 22:37:12 GMT 2024 - 2.4K bytes - Click Count (0) -
scripts/mkdocs_hooks.py
return missing_translation_path.read_text(encoding="utf-8") @lru_cache def get_mkdocs_material_langs() -> list[str]: material_path = Path(material.__file__).parent material_langs_path = material_path / "templates" / "partials" / "languages" langs = [file.stem for file in material_langs_path.glob("*.html")] return langs class EnFile(File): pass
Created: Sun Dec 28 07:19:09 GMT 2025 - Last Modified: Wed Dec 17 21:25:59 GMT 2025 - 5.6K bytes - Click Count (0) -
tensorflow/api_template_v1.__init__.py
_API_MODULE = _sys.modules[__name__].bitwise # pylint: disable=undefined-variable _current_module = _sys.modules[__name__] _tf_api_dir = _os.path.dirname(_os.path.dirname(_API_MODULE.__file__)) if not hasattr(_current_module, "__path__"): __path__ = [_tf_api_dir] elif _tf_api_dir not in __path__: __path__.append(_tf_api_dir) # Hook external TensorFlow modules.
Created: Tue Dec 30 12:39:10 GMT 2025 - Last Modified: Wed Oct 02 22:16:02 GMT 2024 - 7.5K bytes - Click Count (0) -
tensorflow/api_template.__init__.py
# the __path__ so that "from tensorflow.foo import bar" works. # We're using bitwise, but there's nothing special about that. _API_MODULE = _sys.modules[__name__].bitwise _tf_api_dir = _os.path.dirname(_os.path.dirname(_API_MODULE.__file__)) _current_module = _sys.modules[__name__] if not hasattr(_current_module, "__path__"): __path__ = [_tf_api_dir] elif _tf_api_dir not in __path__: __path__.append(_tf_api_dir)
Created: Tue Dec 30 12:39:10 GMT 2025 - Last Modified: Wed Oct 02 22:16:02 GMT 2024 - 6.8K bytes - Click Count (0)