Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 1 - 10 of 459 for ref2 (0.02 seconds)

  1. tests/test_response_model_include_exclude.py

        }
    
    
    @app.get(
        "/mixed",
        response_model=Model3,
        response_model_include={"ref2", "name"},
        response_model_exclude={"ref2": {"baz"}},
    )
    def mixed():
        return Model3(
            name="mixed model3 name",
            age=3,
            ref2=Model2(
                ref=Model1(foo="mixed model foo", bar="mixed model bar"),
                baz="mixed model2 baz",
            ),
        )
    
    
    @app.get(
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Mon Jul 19 19:14:58 GMT 2021
    - 4K bytes
    - Click Count (0)
  2. schema/schema_helper_test.go

    			}
    
    			for _, ref := range relation.References {
    				var found bool
    				for _, rf := range r.References {
    					if (rf.PrimaryKey == nil || (rf.PrimaryKey.Name == ref.PrimaryKey && rf.PrimaryKey.Schema.Name == ref.PrimarySchema)) && (rf.PrimaryValue == ref.PrimaryValue) && (rf.ForeignKey.Name == ref.ForeignKey && rf.ForeignKey.Schema.Name == ref.ForeignSchema) && (rf.OwnPrimaryKey == ref.OwnPrimaryKey) {
    						found = true
    					}
    Created: Sun Apr 05 09:35:12 GMT 2026
    - Last Modified: Thu Aug 28 02:57:17 GMT 2025
    - 7.5K bytes
    - Click Count (0)
  3. .github/workflows/contributor-pr.yml

          - master
    
    concurrency:
      # On master/release, we don't want any jobs cancelled so the sha is used to name the group
      group: ${{ (github.ref == 'refs/heads/master' || github.ref == 'refs/heads/release' ) && format('contributor-pr-base-{0}', github.sha) || format('contributor-pr-{0}', github.ref) }}
      cancel-in-progress: false
    
    env:
      # Set the DEVELOCITY_ACCESS_KEY so that a Build Scan is generated
    Created: Wed Apr 01 11:36:16 GMT 2026
    - Last Modified: Mon Mar 23 22:06:44 GMT 2026
    - 5K bytes
    - Click Count (0)
  4. .ci/jobs.t/elastic+elasticsearch+intake.yml

          - generic-webhook-trigger:
              post-content-params:
                - type: JSONPath
                  key: ref
                  value: '$.ref'
              regex-filter-text: '$ref'
              regex-filter-expression: "^refs/heads/%BRANCH%$"
              cause: Push to GitHub (refs/heads/%BRANCH%)
              silent-response: true
        scm:
          - git:
              wipe-workspace: false
        builders:
          - multijob:
    Created: Wed Apr 08 16:19:15 GMT 2026
    - Last Modified: Thu May 06 21:46:09 GMT 2021
    - 2.3K bytes
    - Click Count (0)
  5. build-conventions/src/main/java/org/elasticsearch/gradle/internal/conventions/info/GitInfo.java

                }
                final String ref = readFirstLine(head);
                if (ref.startsWith("ref:")) {
                    String refName = ref.substring("ref:".length()).trim();
                    Path refFile = gitDir.resolve(refName);
                    if (Files.exists(refFile)) {
                        revision = readFirstLine(refFile);
                    } else if (Files.exists(gitDir.resolve("packed-refs"))) {
    Created: Wed Apr 08 16:19:15 GMT 2026
    - Last Modified: Tue Jun 01 09:19:30 GMT 2021
    - 7.8K bytes
    - Click Count (0)
  6. internal/lock/lock.go

    func (r *RLockedFile) IncLockRef() {
    	r.mutex.Lock()
    	r.refs++
    	r.mutex.Unlock()
    }
    
    // Close - this closer implements a special closer
    // closes the underlying fd only when the refs
    // reach zero.
    func (r *RLockedFile) Close() (err error) {
    	r.mutex.Lock()
    	defer r.mutex.Unlock()
    
    	if r.refs == 0 {
    		return os.ErrInvalid
    	}
    
    	r.refs--
    	if r.refs == 0 {
    		err = r.File.Close()
    	}
    
    Created: Sun Apr 05 19:28:12 GMT 2026
    - Last Modified: Sun Jan 02 17:15:06 GMT 2022
    - 2.5K bytes
    - Click Count (0)
  7. .github/workflows/build.yml

            uses: EnricoMi/publish-unit-test-result-action@v2
            if: github.repository == 'square/okhttp' && github.ref == 'refs/heads/master' && matrix.java-version == '11'
            with:
              files: |
                **/build/test-results/*/TEST-*.xml
    
      openjdk8alpn:
        runs-on: ubuntu-latest
        if: github.ref == 'refs/heads/master' || contains(github.event.pull_request.labels.*.name, 'jdkversions')
    
        steps:
    Created: Fri Apr 03 11:42:14 GMT 2026
    - Last Modified: Tue Mar 10 16:19:02 GMT 2026
    - 11.6K bytes
    - Click Count (0)
  8. .github/workflows/docs.yml

    jobs:
      test_docs:
        permissions:
          checks: write # for actions/upload-artifact
        runs-on: ubuntu-latest
        if: github.ref == 'refs/heads/master' || contains(github.event.pull_request.labels.*.name, 'documentation')
    
        steps:
          - name: Checkout
            uses: actions/checkout@v6
    
          - name: Configure JDK
    Created: Fri Apr 03 11:42:14 GMT 2026
    - Last Modified: Thu Feb 26 22:11:04 GMT 2026
    - 990 bytes
    - Click Count (0)
  9. .github/workflows/arm-cd.yml

          - name: Upload pip wheel to PyPI
            if: github.event_name == 'schedule' || (github.event_name == 'push' && startsWith(github.ref, 'refs/tags/v2')) # only if it is a scheduled nightly or tagged
            shell: bash
    Created: Tue Apr 07 12:39:13 GMT 2026
    - Last Modified: Thu Jan 01 08:09:03 GMT 2026
    - 3K bytes
    - Click Count (0)
  10. .github/workflows/containers.yml

    jobs:
      test_containers:
        permissions:
          checks: write # for actions/upload-artifact
        runs-on: ubuntu-latest
        if: github.ref == 'refs/heads/master' || contains(github.event.pull_request.labels.*.name, 'containers')
    
        steps:
          - name: Checkout
            uses: actions/checkout@v6
    
          - name: Configure JDK
            uses: actions/setup-java@v5
    Created: Fri Apr 03 11:42:14 GMT 2026
    - Last Modified: Tue Feb 03 22:17:59 GMT 2026
    - 875 bytes
    - Click Count (0)
Back to Top