Search Options

Results per page
Sort
Preferred Languages
Advance

Results 141 - 150 of 727 for stopTs (0.06 sec)

  1. tests/distinct_test.go

    	var names1 []string
    	DB.Model(&User{}).Where("name like ?", "distinct%").Distinct().Order("name").Pluck("Name", &names1)
    
    	AssertEqual(t, names1, []string{"distinct", "distinct-2", "distinct-3"})
    
    	var names2 []string
    	DB.Scopes(func(db *gorm.DB) *gorm.DB {
    		return db.Table("users")
    	}).Where("name like ?", "distinct%").Order("name").Pluck("name", &names2)
    	AssertEqual(t, names2, []string{"distinct", "distinct", "distinct", "distinct-2", "distinct-3"})
    
    Registered: Sun Nov 03 09:35:10 UTC 2024
    - Last Modified: Thu Jan 06 07:02:53 UTC 2022
    - 2.5K bytes
    - Viewed (0)
  2. .github/workflows/iam-integrations.yaml

                etcd: ""
                openid: ""
              # exclude combos where both ldap and openid IDPs are specified.
              - ldap: "localhost:389"
                openid: "http://127.0.0.1:5556/dex"
    
        steps:
          - uses: actions/checkout@v4
          - uses: actions/setup-go@v5
            with:
              go-version: ${{ matrix.go-version }}
              check-latest: true
          - name: Test LDAP/OpenID/Etcd combo
            env:
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Tue Sep 17 16:45:46 UTC 2024
    - 5.3K bytes
    - Viewed (0)
  3. .github/workflows/sigbuild-docker-presubmit.yml

        runs-on: ubuntu-latest
        strategy:
          matrix:
            python-version: [python3.9, python3.10, python3.11, python3.12]
        permissions:
          contents: read
          pull-requests: write
        steps:
          - name: Delete unnecessary tools folder
            run: |
              df -h
              rm -rf /opt/hostedtoolcache
              df -h
          -
            name: Checkout
    Registered: Tue Nov 05 12:39:12 UTC 2024
    - Last Modified: Fri Nov 01 08:40:10 UTC 2024
    - 4.6K bytes
    - Viewed (0)
  4. .github/workflows/test-redistribute.yml

        types:
          - opened
          - synchronize
    
    jobs:
      test-redistribute:
        runs-on: ubuntu-latest
        strategy:
          matrix:
            package:
              - fastapi
              - fastapi-slim
        steps:
          - name: Dump GitHub context
            env:
              GITHUB_CONTEXT: ${{ toJson(github) }}
            run: echo "$GITHUB_CONTEXT"
          - uses: actions/checkout@v4
          - name: Set up Python
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Thu Aug 08 23:34:25 UTC 2024
    - 1.8K bytes
    - Viewed (0)
  5. docs/en/docs/reference/dependencies.md

    ```
    
    ::: fastapi.Depends
    
    ## `Security()`
    
    For many scenarios, you can handle security (authorization, authentication, etc.) with dependencies, using `Depends()`.
    
    But when you want to also declare OAuth2 scopes, you can use `Security()` instead of `Depends()`.
    
    You can import `Security()` directly from `fastapi`:
    
    ```python
    from fastapi import Security
    ```
    
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Thu Apr 18 19:53:19 UTC 2024
    - 671 bytes
    - Viewed (0)
  6. android/guava/src/com/google/common/collect/Serialization.java

       * ObjectOutputStream)}.
       */
      static int readCount(ObjectInputStream stream) throws IOException {
        return stream.readInt();
      }
    
      /**
       * Stores the contents of a map in an output stream, as part of serialization. It does not support
       * concurrent maps whose content may change while the method is running.
       *
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Mon Mar 06 16:06:58 UTC 2023
    - 8.5K bytes
    - Viewed (0)
  7. guava-testlib/test/com/google/common/collect/testing/IteratorTesterTest.java

        } catch (AssertionError e) {
          return;
        }
        fail("Should have caught jdk6 bug in target iterator");
      }
    
      private static final int STEPS = 3;
    
      static class TesterThatCountsCalls extends IteratorTester<Integer> {
        TesterThatCountsCalls() {
          super(STEPS, MODIFIABLE, newArrayList(1), IteratorTester.KnownOrder.KNOWN_ORDER);
        }
    
        int numCallsToNewTargetIterator;
        int numCallsToVerify;
    
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Tue Jun 11 16:13:05 UTC 2024
    - 10.3K bytes
    - Viewed (0)
  8. tests/test_security_oauth2_authorization_code_bearer.py

                        "flows": {
                            "authorizationCode": {
                                "authorizationUrl": "authorize",
                                "tokenUrl": "token",
                                "scopes": {},
                            }
                        },
                    }
                }
            },
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Fri Jun 30 18:25:16 UTC 2023
    - 2.3K bytes
    - Viewed (0)
  9. .teamcity/src/test/kotlin/PerformanceTestBuildTypeTest.kt

                    "KILL_ALL_GRADLE_PROCESSES",
                    "GRADLE_RUNNER",
                    "KILL_PROCESSES_STARTED_BY_GRADLE",
                    "CHECK_CLEAN_M2_ANDROID_USER_HOME"
                ),
                performanceTest.steps.items.map(BuildStep::name)
            )
    
            val expectedRunnerParams = listOf(
                "-PperformanceBaselines=%performance.baselines%",
                "-PtestJavaVersion=17",
                "-PtestJavaVendor=openjdk",
    Registered: Wed Nov 06 11:36:14 UTC 2024
    - Last Modified: Mon Sep 30 07:24:00 UTC 2024
    - 7.3K bytes
    - Viewed (0)
  10. android/guava-testlib/test/com/google/common/collect/testing/IteratorTesterTest.java

        } catch (AssertionError e) {
          return;
        }
        fail("Should have caught jdk6 bug in target iterator");
      }
    
      private static final int STEPS = 3;
    
      static class TesterThatCountsCalls extends IteratorTester<Integer> {
        TesterThatCountsCalls() {
          super(STEPS, MODIFIABLE, newArrayList(1), IteratorTester.KnownOrder.KNOWN_ORDER);
        }
    
        int numCallsToNewTargetIterator;
        int numCallsToVerify;
    
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Tue Jun 11 16:13:05 UTC 2024
    - 10.3K bytes
    - Viewed (0)
Back to top