Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1401 - 1410 of 4,279 for FROM (0.07 sec)

  1. tests/test_tutorial/test_query_params_str_validations/test_tutorial013.py

    from fastapi.testclient import TestClient
    
    from docs_src.query_params_str_validations.tutorial013 import app
    
    client = TestClient(app)
    
    
    def test_multi_query_values():
        url = "/items/?q=foo&q=bar"
        response = client.get(url)
        assert response.status_code == 200, response.text
        assert response.json() == {"q": ["foo", "bar"]}
    
    
    def test_query_no_values():
        url = "/items/"
        response = client.get(url)
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Fri Jun 30 18:25:16 UTC 2023
    - 3.4K bytes
    - Viewed (0)
  2. .teamcity/src/main/kotlin/promotion/PublishNightlySnapshotFromQuickFeedbackStepPromote.kt

        cleanCheckout = false
    ) {
        init {
            id("Promotion_SnapshotFromQuickFeedbackStepPromote")
            name = "Nightly Snapshot (from QuickFeedback) - Promote"
            description = "Promotes a previously built distribution on this agent on '${branch.branchName}' from Quick Feedback as a new nightly snapshot. This build checks out gradle-promote, so don't be misled by the 'master' branch."
    
            steps {
                buildStep(
    Registered: Wed Nov 06 11:36:14 UTC 2024
    - Last Modified: Fri Dec 09 14:10:43 UTC 2022
    - 1.9K bytes
    - Viewed (0)
  3. android/guava-testlib/src/com/google/common/testing/AbstractPackageSanityTests.java

     * someList.add(obj)} checked. For more detailed discussion of supported and unsupported cases, see
     * {@link #testEquals}, {@link #testNulls} and {@link #testSerializable}.
     *
     * <p>For testing against the returned instances from a static factory class, such as
     *
     * <pre>
     * interface Book {...}
     * public class Books {
     *   public static Book hardcover(String title) {...}
     *   public static Book paperback(String title) {...}
     * }
     * </pre>
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Thu Oct 17 19:43:49 UTC 2024
    - 17.9K bytes
    - Viewed (0)
  4. cni/pkg/nodeagent/server.go

    		log.Errorf("failed to remove pod %s from host ipset, error was: %v", pod.Name, err)
    		errs = append(errs, err)
    	}
    
    	// Specifically, at this time, we do _not_ want to un-annotate the pod if we cannot successfully remove it,
    	// as the pod is probably in a broken state and we don't want to let go of it from the CP perspective while that is true.
    	// So we will return if this fails.
    Registered: Wed Nov 06 22:53:10 UTC 2024
    - Last Modified: Wed Sep 25 20:54:34 UTC 2024
    - 13.4K bytes
    - Viewed (0)
  5. docs/sts/casdoor.md

    ```
    mc admin service restart myminio
    ```
    
    ### Using WebIdentiy API
    
    On another terminal run `web-identity.go` a sample client application which obtains JWT id_tokens from an identity provider, in our case its Keycloak. Uses the returned id_token response to get new temporary credentials from the MinIO server using the STS API call `AssumeRoleWithWebIdentity`.
    
    ```
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Thu Sep 29 04:28:45 UTC 2022
    - 6.6K bytes
    - Viewed (0)
  6. cmd/tier-sweeper.go

    }
    
    // SetTransitionState sets ILM transition related information from given info.
    func (os *objSweeper) SetTransitionState(info TransitionedObject) {
    	os.TransitionTier = info.Tier
    	os.TransitionStatus = info.Status
    	os.RemoteObject = info.Name
    	os.TransitionVersionID = info.VersionID
    }
    
    // shouldRemoveRemoteObject determines if a transitioned object should be
    // removed from remote tier. If remote object is to be deleted, returns the
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Wed Apr 17 05:09:58 UTC 2024
    - 4.7K bytes
    - Viewed (0)
  7. guava/src/com/google/common/io/Closer.java

     * close()}).
     *
     * <p>This pattern ensures the following:
     *
     * <ul>
     *   <li>Each {@code Closeable} resource that is successfully registered will be closed later.
     *   <li>If a {@code Throwable} is thrown in the try block, no exceptions that occur when attempting
     *       to close resources will be thrown from the finally block. The throwable from the try block
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Tue May 07 15:26:58 UTC 2024
    - 10.4K bytes
    - Viewed (0)
  8. tests/test_tutorial/test_request_form_models/test_tutorial002_an_py39.py

    import pytest
    from fastapi.testclient import TestClient
    
    from tests.utils import needs_py39, needs_pydanticv2
    
    
    @pytest.fixture(name="client")
    def get_client():
        from docs_src.request_form_models.tutorial002_an_py39 import app
    
        client = TestClient(app)
        return client
    
    
    @needs_pydanticv2
    @needs_py39
    def test_post_body_form(client: TestClient):
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Fri Sep 06 17:31:18 UTC 2024
    - 6.3K bytes
    - Viewed (0)
  9. tests/test_tutorial/test_request_files/test_tutorial001_02_an.py

    from dirty_equals import IsDict
    from fastapi.testclient import TestClient
    
    from docs_src.request_files.tutorial001_02_an import app
    
    client = TestClient(app)
    
    
    def test_post_form_no_body():
        response = client.post("/files/")
        assert response.status_code == 200, response.text
        assert response.json() == {"message": "No file sent"}
    
    
    def test_post_uploadfile_no_body():
        response = client.post("/uploadfile/")
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Fri Jul 07 17:12:13 UTC 2023
    - 8.2K bytes
    - Viewed (0)
  10. guava/src/com/google/common/collect/Streams.java

              } finally {
                holder = null;
              }
            }
            return false;
          }
    
          @Override
          Splitr createSplit(Spliterator<T> from, long i) {
            return new Splitr(from, i);
          }
        }
        return StreamSupport.stream(new Splitr(fromSpliterator, 0), isParallel).onClose(stream::close);
      }
    
      /**
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Thu Oct 31 14:20:11 UTC 2024
    - 36.8K bytes
    - Viewed (0)
Back to top