Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 329 for ref2 (0.03 sec)

  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(
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Mon Jul 19 19:14:58 UTC 2021
    - 4K bytes
    - Viewed (0)
  2. .github/workflows/contributor-pr.yml

      # On PR branches, we cancel the job if new commits are pushed
      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: true
    
    env:
      # Set the DEVELOCITY_ACCESS_KEY so that Gradle Build Scans are generated
    Registered: Wed Nov 06 11:36:14 UTC 2024
    - Last Modified: Fri Oct 11 18:32:33 UTC 2024
    - 3.9K bytes
    - Viewed (0)
  3. 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
    					}
    Registered: Sun Nov 03 09:35:10 UTC 2024
    - Last Modified: Fri Dec 15 08:31:23 UTC 2023
    - 7.5K bytes
    - Viewed (0)
  4. 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()
    	}
    
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Sun Jan 02 17:15:06 UTC 2022
    - 2.5K bytes
    - Viewed (0)
  5. .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@v4
            with:
              fetch-depth: 0
    
    Registered: Fri Nov 01 11:42:11 UTC 2024
    - Last Modified: Mon Mar 04 06:13:36 UTC 2024
    - 1K bytes
    - Viewed (0)
  6. .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
    Registered: Tue Nov 05 12:39:12 UTC 2024
    - Last Modified: Fri Nov 01 08:40:10 UTC 2024
    - 3K bytes
    - Viewed (0)
  7. .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@v4
            with:
              fetch-depth: 0
    
    Registered: Fri Nov 01 11:42:11 UTC 2024
    - Last Modified: Sat Aug 17 10:05:29 UTC 2024
    - 911 bytes
    - Viewed (0)
  8. .github/workflows/maven.yml

                branch=${PR_HEAD_LABEL#*:}
              else
                user=${GITHUB_REPOSITORY%/*}
                branch=${GITHUB_REF#refs/heads/}
              fi
              if [ $branch != "master" ]; then
                git ls-remote https://github.com/$user/$repo.git | grep "refs/heads/${branch}$" > /dev/null
                if [ $? -eq 0 ]; then
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Mon Jun 03 17:58:28 UTC 2024
    - 5K bytes
    - Viewed (0)
  9. guava-tests/test/com/google/common/cache/CacheReferencesTest.java

                return builder.build(KEY_TO_STRING_LOADER);
              }
            });
      }
    
      public void testContainsKeyAndValue() {
        for (LoadingCache<Key, String> cache : caches()) {
          // maintain strong refs so these won't be collected, regardless of cache's key/value strength
          Key key = new Key(1);
          String value = key.toString();
          assertSame(value, cache.getUnchecked(key));
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Mon Oct 21 14:28:19 UTC 2024
    - 6.2K bytes
    - Viewed (0)
  10. src/test/java/jcifs/tests/OplockTests.java

                        SmbComNTCreateAndX req2 = new SmbComNTCreateAndX(sess.getConfig(), uncPath, flags, access, sharing, attrs, options, null);
                        req2.addFlags0(0x2); // REQUEST_OPLOCK
                        req2.setOverrideTimeout(1000);
                        req2.setResponse(resp2);
    
                        try {
                            resp2 = tree.send(req2);
                        }
    Registered: Sun Nov 03 00:10:13 UTC 2024
    - Last Modified: Thu Jan 05 13:09:03 UTC 2023
    - 6.1K bytes
    - Viewed (0)
Back to top