Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 10 for livable (0.56 sec)

  1. tensorflow/api_template.__init__.py

    this file with a file generated from [`api_template.__init__.py`](https://www.github.com/tensorflow/tensorflow/blob/master/tensorflow/api_template.__init__.py)
    """
    # pylint: disable=g-bad-import-order,protected-access,g-import-not-at-top
    
    import distutils as _distutils
    import importlib
    import inspect as _inspect
    import os as _os
    import site as _site
    import sys as _sys
    
    Python
    - Registered: Tue Apr 30 12:39:09 GMT 2024
    - Last Modified: Tue Mar 05 06:27:59 GMT 2024
    - 6.7K bytes
    - Viewed (3)
  2. tests/test_tutorial/test_conditional_openapi/test_tutorial001.py

        from docs_src.conditional_openapi import tutorial001
    
        importlib.reload(tutorial001)
    
        client = TestClient(tutorial001.app)
        return client
    
    
    @needs_pydanticv2
    def test_disable_openapi(monkeypatch):
        monkeypatch.setenv("OPENAPI_URL", "")
        # Load the client after setting the env var
        client = get_client()
        response = client.get("/openapi.json")
    Python
    - Registered: Sun Apr 28 07:19:10 GMT 2024
    - Last Modified: Fri Jul 07 17:12:13 GMT 2023
    - 1.8K bytes
    - Viewed (0)
  3. ci/official/containers/linux_arm64/devel.usertools/squash_testlogs.py

            testsuite._elem.remove(p.getparent())
          seen[key] += 1
        # Remove this testsuite if it doesn't have anything in it any more
        if len(testsuite) == 0:  # pylint: disable=g-explicit-length-test
          r._elem.remove(testsuite._elem)
      if len(r) > 0:  # pylint: disable=g-explicit-length-test
        result += r
    
    # Insert the number of failures for each test to help identify flakes
    # need to clarify for shard
    Python
    - Registered: Tue Apr 30 12:39:09 GMT 2024
    - Last Modified: Mon Sep 18 19:00:37 GMT 2023
    - 4.8K bytes
    - Viewed (0)
  4. fastapi/utils.py

                f"check that {type_} is a valid Pydantic field type. "
                "If you are using a return type annotation that is not a valid Pydantic "
                "field (e.g. Union[Response, dict, None]) you can disable generating the "
                "response model from the type annotation with the path operation decorator "
                "parameter response_model=None. Read more: "
                "https://fastapi.tiangolo.com/tutorial/response-model/"
    Python
    - Registered: Sun Apr 28 07:19:10 GMT 2024
    - Last Modified: Thu Apr 18 19:40:57 GMT 2024
    - 7.8K bytes
    - Viewed (0)
  5. ci/official/utilities/extract_resultstore_links.py

      return result_store_links
    
    
    def indent_xml(elem, level=0) -> None:
      """Indents and newlines the XML for better output."""
      indent_str = '\n' + level * '  '
      if len(elem):  # pylint: disable=g-explicit-length-test  # `if elem` not valid
        if not elem.text or not elem.text.strip():
          elem.text = indent_str + '  '
        if not elem.tail or not elem.tail.strip():
          elem.tail = indent_str
    Python
    - Registered: Tue Apr 30 12:39:09 GMT 2024
    - Last Modified: Wed Nov 08 17:50:27 GMT 2023
    - 10.9K bytes
    - Viewed (0)
  6. tensorflow/__init__.py

    # Bring in all of the public TensorFlow interface into this
    # module.
    
    # pylint: disable=g-bad-import-order
    from tensorflow.python import pywrap_tensorflow  # pylint: disable=unused-import
    
    from tensorflow.python.platform import flags  # pylint: disable=g-import-not-at-top
    from tensorflow.python.platform import app  # pylint: disable=g-import-not-at-top
    app.flags = flags
    
    Python
    - Registered: Tue Apr 30 12:39:09 GMT 2024
    - Last Modified: Tue Sep 28 21:37:05 GMT 2021
    - 1.4K bytes
    - Viewed (0)
  7. fastapi/param_functions.py

                if the dependency is needed by several dependencies), the value will be
                re-used for the rest of the request.
    
                Set `use_cache` to `False` to disable this behavior and ensure the
                dependency is called again (if declared more than once) in the same request.
                """
            ),
        ] = True,
    ) -> Any:
        """
    Python
    - Registered: Sun Apr 28 07:19:10 GMT 2024
    - Last Modified: Thu Apr 18 19:40:57 GMT 2024
    - 62.5K bytes
    - Viewed (0)
  8. tensorflow/api_template_v1.__init__.py

    import distutils as _distutils
    import importlib
    import inspect as _inspect
    import os as _os
    import site as _site
    import sys as _sys
    
    # pylint: disable=g-bad-import-order,protected-access,g-import-not-at-top
    from tensorflow.python import pywrap_tensorflow  # pylint: disable=unused-import
    from tensorflow.python.tools import module_util as _module_util
    from tensorflow.python.platform import tf_logging as _logging
    Python
    - Registered: Tue Apr 30 12:39:09 GMT 2024
    - Last Modified: Tue Jan 23 02:14:00 GMT 2024
    - 7.4K bytes
    - Viewed (0)
  9. fastapi/applications.py

                bool,
                Doc(
                    """
                    To disable automatically generating the URLs in the `servers` field
                    in the autogenerated OpenAPI using the `root_path`.
    
                    Read more about it in the
                    [FastAPI docs for Behind a Proxy](https://fastapi.tiangolo.com/advanced/behind-a-proxy/#disable-automatic-server-from-root_path).
    
                    **Example**
    
    Python
    - Registered: Sun Apr 28 07:19:10 GMT 2024
    - Last Modified: Tue Apr 02 02:48:51 GMT 2024
    - 172.2K bytes
    - Viewed (0)
  10. configure.py

      config_info_line('v1', 'Build with TensorFlow 1 API instead of TF 2 API.')
    
      print('Preconfigured Bazel build configs to DISABLE default on features:')
      config_info_line('nogcp', 'Disable GCP support.')
      config_info_line('nonccl', 'Disable NVIDIA NCCL support.')
    
    
    if __name__ == '__main__':
    Python
    - Registered: Tue Apr 30 12:39:09 GMT 2024
    - Last Modified: Mon Apr 15 18:25:36 GMT 2024
    - 53.8K bytes
    - Viewed (0)
Back to top