Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 4 of 4 for deletes (0.1 sec)

  1. fastapi/openapi/constants.py

    METHODS_WITH_BODY = {"GET", "HEAD", "POST", "PUT", "DELETE", "PATCH"}
    REF_PREFIX = "#/components/schemas/"
    Registered: Mon Jun 17 08:32:26 UTC 2024
    - Last Modified: Fri Jul 07 17:12:13 UTC 2023
    - 153 bytes
    - Viewed (0)
  2. tensorflow/api_template.__init__.py

        importlib.import_module("tf_keras.src.optimizers")
      else:
        importlib.import_module("keras.src.optimizers")
    except (ImportError, AttributeError):
      pass
    
    del importlib
    
    # Delete modules that should be hidden from dir().
    # Don't fail if these modules are not available.
    # For e.g. this file will be originally placed under tensorflow/_api/v1 which
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Tue Mar 05 06:27:59 UTC 2024
    - 6.7K bytes
    - Viewed (0)
  3. tests/test_reponse_set_reponse_code_empty.py

    app = FastAPI()
    
    
    @app.delete(
        "/{id}",
        status_code=204,
        response_model=None,
    )
    async def delete_deployment(
        id: int,
        response: Response,
    ) -> Any:
        response.status_code = 400
        return {"msg": "Status overwritten", "id": id}
    
    
    client = TestClient(app)
    
    
    def test_dependency_set_status_code():
        response = client.delete("/1")
    Registered: Mon Jun 17 08:32:26 UTC 2024
    - Last Modified: Fri Jun 30 18:25:16 UTC 2023
    - 3.1K bytes
    - Viewed (0)
  4. tensorflow/api_template_v1.__init__.py

          _ll.load_pluggable_device_library(_plugin_dir)
    
    if _os.getenv("TF_PLUGGABLE_DEVICE_LIBRARY_PATH", ""):
      _ll.load_pluggable_device_library(
          _os.getenv("TF_PLUGGABLE_DEVICE_LIBRARY_PATH")
      )
    
    # Delete modules that should be hidden from dir().
    # Don't fail if these modules are not available.
    # For e.g. this file will be originally placed under tensorflow/_api/v1 which
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Tue Jan 23 02:14:00 UTC 2024
    - 7.4K bytes
    - Viewed (0)
Back to top