Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 1,917 for post (0.02 sec)

  1. helm/minio/templates/post-job.yaml

    apiVersion: batch/v1
    kind: Job
    metadata:
      name: {{ template "minio.fullname" . }}-post-job
      labels:
        app: {{ template "minio.name" . }}-post-job
        chart: {{ template "minio.chart" . }}
        release: {{ .Release.Name }}
        heritage: {{ .Release.Service }}
      annotations:
        "helm.sh/hook": post-install,post-upgrade
        "helm.sh/hook-delete-policy": hook-succeeded,before-hook-creation
    Registered: 2025-05-25 19:28
    - Last Modified: 2024-10-10 15:48
    - 10.4K bytes
    - Viewed (0)
  2. cmd/post-policy_test.go

    	for i := range parts {
    		if errs[i] == nil {
    			if parts[i].Name == objectName+"/upload.txt" {
    				t.Errorf("Test %s: Failed to stop post policy handler from writing to minioMetaBucket", instanceType)
    			}
    		}
    	}
    }
    
    // Wrapper for calling TestPostPolicyBucketHandler tests for both Erasure multiple disks and single node setup.
    Registered: 2025-05-25 19:28
    - Last Modified: 2024-12-11 10:51
    - 30.7K bytes
    - Viewed (0)
  3. cmd/post-policy-fan-out.go

    Harshavardhana <******@****.***> 1741843791 -0700
    Registered: 2025-05-25 19:28
    - Last Modified: 2025-03-13 05:29
    - 3.5K bytes
    - Viewed (0)
  4. tests/test_generate_unique_id_function.py

        @callback_router.post(
            "/post-callback",
            response_model=List[Item],
            responses={404: {"model": List[Message]}},
            generate_unique_id_function=custom_generate_unique_id3,
        )
        def post_callback(item1: Item, item2: Item):
            return item1, item2  # pragma: nocover
    
        @app.post(
            "/",
            response_model=List[Item],
    Registered: 2025-05-25 07:19
    - Last Modified: 2024-01-13 15:10
    - 66.7K bytes
    - Viewed (0)
  5. tests/test_tuples.py

    
    class Coordinate(BaseModel):
        x: float
        y: float
    
    
    @app.post("/model-with-tuple/")
    def post_model_with_tuple(item_group: ItemGroup):
        return item_group
    
    
    @app.post("/tuple-of-models/")
    def post_tuple_of_models(square: Tuple[Coordinate, Coordinate]):
        return square
    
    
    @app.post("/tuple-form/")
    def hello(values: Tuple[int, int] = Form()):
        return values
    
    
    Registered: 2025-05-25 07:19
    - Last Modified: 2023-07-07 17:12
    - 11.8K bytes
    - Viewed (0)
  6. tests/test_multipart_installation.py

            monkeypatch.delattr("multipart.multipart.parse_options_header", raising=False)
        with pytest.raises(RuntimeError, match=multipart_incorrect_install_error):
            app = FastAPI()
    
            @app.post("/")
            async def root(username: str = Form()):
                return username  # pragma: nocover
    
    
    def test_incorrect_multipart_installed_file_upload(monkeypatch):
    Registered: 2025-05-25 07:19
    - Last Modified: 2024-10-27 21:46
    - 5.7K bytes
    - Viewed (0)
  7. tests/test_tutorial/test_request_form_models/test_tutorial002_pv1.py

    def test_post_body_form(client: TestClient):
        response = client.post("/login/", data={"username": "Foo", "password": "secret"})
        assert response.status_code == 200
        assert response.json() == {"username": "Foo", "password": "secret"}
    
    
    # TODO: remove when deprecating Pydantic v1
    @needs_pydanticv1
    def test_post_body_extra_form(client: TestClient):
        response = client.post(
    Registered: 2025-05-25 07:19
    - Last Modified: 2025-01-19 22:39
    - 6.6K bytes
    - Viewed (0)
  8. tests/test_tutorial/test_request_files/test_tutorial001.py

        mod = importlib.import_module(f"docs_src.request_files.{request.param}")
    
        client = TestClient(mod.app)
        return client
    
    
    def test_post_form_no_body(client: TestClient):
        response = client.post("/files/")
        assert response.status_code == 422, response.text
        assert response.json() == IsDict(
            {
                "detail": [
                    {
                        "type": "missing",
    Registered: 2025-05-25 07:19
    - Last Modified: 2025-01-30 12:04
    - 7.9K bytes
    - Viewed (0)
  9. tests/test_allow_inf_nan_in_enforcing.py

        response = client.post(f"/?z={value}")
        assert response.status_code == code, response.text
    
    
    @pytest.mark.parametrize(
        "value,code",
        [
            ("-1", 200),
            ("inf", 422),
            ("-inf", 422),
            ("nan", 422),
            ("0", 200),
            ("342", 200),
        ],
    )
    def test_allow_inf_nan_body(value: str, code: int):
        response = client.post("/", json=value)
    Registered: 2025-05-25 07:19
    - Last Modified: 2024-08-24 19:27
    - 1.8K bytes
    - Viewed (0)
  10. okhttp-logging-interceptor/src/test/java/okhttp3/logging/HttpLoggingInterceptorTest.kt

        networkLogs
          .assertLogEqual("--> POST $url http/1.1")
          .assertLogEqual("Content-Type: text/plain; charset=utf-8")
          .assertLogEqual("Content-Length: 3")
          .assertLogEqual("Host: $host")
          .assertLogEqual("Connection: Keep-Alive")
          .assertLogEqual("Accept-Encoding: gzip")
          .assertLogMatch(Regex("""User-Agent: okhttp/.+"""))
          .assertLogEqual("--> END POST")
    Registered: 2025-05-30 11:42
    - Last Modified: 2025-05-10 11:15
    - 37.7K bytes
    - Viewed (0)
Back to top