Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 11 for delete (0.19 sec)

  1. tests/test_operations_signatures.py

    import inspect
    
    from fastapi import APIRouter, FastAPI
    
    method_names = ["get", "put", "post", "delete", "options", "head", "patch", "trace"]
    
    
    def test_signatures_consistency():
        base_sig = inspect.signature(APIRouter.get)
        for method_name in method_names:
            router_method = getattr(APIRouter, method_name)
            app_method = getattr(FastAPI, method_name)
            router_sig = inspect.signature(router_method)
    Python
    - Registered: Sun Apr 28 07:19:10 GMT 2024
    - Last Modified: Mon May 27 12:08:13 GMT 2019
    - 934 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
    Python
    - Registered: Tue Apr 23 12:39:09 GMT 2024
    - Last Modified: Tue Mar 05 06:27:59 GMT 2024
    - 6.7K bytes
    - Viewed (3)
  3. fastapi/routing.py

            """
            Add a *path operation* using an HTTP DELETE operation.
    
            ## Example
    
            ```python
            from fastapi import APIRouter, FastAPI
    
            app = FastAPI()
            router = APIRouter()
    
            @router.delete("/items/{item_id}")
            def delete_item(item_id: str):
                return {"message": "Item deleted"}
    
            app.include_router(router)
            ```
    Python
    - Registered: Sun Apr 28 07:19:10 GMT 2024
    - Last Modified: Tue Apr 02 02:48:51 GMT 2024
    - 170.1K bytes
    - Viewed (0)
  4. configure.py

    
    def reset_tf_configure_bazelrc():
      """Reset file that contains customized config settings."""
      open(_TF_BAZELRC, 'w').close()
    
    
    def cleanup_makefile():
      """Delete any leftover BUILD files from the Makefile build.
    
      These files could interfere with Bazel parsing.
      """
      makefile_download_dir = os.path.join(_TF_WORKSPACE_ROOT, 'tensorflow',
    Python
    - Registered: Tue Apr 23 12:39:09 GMT 2024
    - Last Modified: Mon Apr 15 18:25:36 GMT 2024
    - 53.8K bytes
    - Viewed (0)
  5. tests/test_reponse_set_reponse_code_empty.py

            "openapi": "3.1.0",
            "info": {"title": "FastAPI", "version": "0.1.0"},
            "paths": {
                "/{id}": {
                    "delete": {
                        "summary": "Delete Deployment",
                        "operationId": "delete_deployment__id__delete",
                        "parameters": [
                            {
                                "required": True,
    Python
    - Registered: Sun Apr 28 07:19:10 GMT 2024
    - Last Modified: Fri Jun 30 18:25:16 GMT 2023
    - 3.1K bytes
    - Viewed (0)
  6. tests/test_extra_routes.py

                                    }
                                },
                            },
                        },
                        "summary": "Delete Item",
                        "operationId": "delete_item_items__item_id__delete",
                        "parameters": [
                            {
                                "required": True,
    Python
    - Registered: Sun Apr 28 07:19:10 GMT 2024
    - Last Modified: Fri Jul 07 17:12:13 GMT 2023
    - 13.7K bytes
    - Viewed (0)
  7. fastapi/openapi/constants.py

    METHODS_WITH_BODY = {"GET", "HEAD", "POST", "PUT", "DELETE", "PATCH"}
    REF_PREFIX = "#/components/schemas/"
    Python
    - Registered: Sun Apr 28 07:19:10 GMT 2024
    - Last Modified: Fri Jul 07 17:12:13 GMT 2023
    - 153 bytes
    - Viewed (0)
  8. 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
    Python
    - Registered: Tue Apr 23 12:39:09 GMT 2024
    - Last Modified: Tue Jan 23 02:14:00 GMT 2024
    - 7.4K bytes
    - Viewed (0)
  9. fastapi/openapi/docs.py

                        });
                    }
    
                    if (qp.code) {
                        delete oauth2.state;
                        oauth2.auth.code = qp.code;
                        oauth2.callback({auth: oauth2.auth, redirectUrl: redirectUrl});
                    } else {
                        let oauthErrorMsg;
    Python
    - Registered: Sun Apr 28 07:19:10 GMT 2024
    - Last Modified: Tue Apr 02 02:48:51 GMT 2024
    - 10.1K bytes
    - Viewed (0)
  10. fastapi/openapi/models.py

        summary: Optional[str] = None
        description: Optional[str] = None
        get: Optional[Operation] = None
        put: Optional[Operation] = None
        post: Optional[Operation] = None
        delete: Optional[Operation] = None
        options: Optional[Operation] = None
        head: Optional[Operation] = None
        patch: Optional[Operation] = None
        trace: Optional[Operation] = None
    Python
    - Registered: Sun Apr 28 07:19:10 GMT 2024
    - Last Modified: Thu Apr 18 22:49:33 GMT 2024
    - 15K bytes
    - Viewed (0)
Back to top