Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 15 for taken (0.02 sec)

  1. docs/en/docs/release-notes.md

        * This allows declaring a parameter like `user_id: str = None` that can be taken from a query parameter, but the same *path operation* can be included in a router with a path `/users/{user_id}`, in which case will be taken from the path and will be required.
        * PR [#464](https://github.com/tiangolo/fastapi/pull/464) by [@jonathanunderwood](https://github.com/jonathanunderwood).
    Registered: Sun Sep 07 07:19:17 UTC 2025
    - Last Modified: Fri Sep 05 12:48:45 UTC 2025
    - 544.1K bytes
    - Viewed (0)
  2. .github/workflows/scorecard.yml

        runs-on: ubuntu-latest
        permissions:
          # Needed to upload the results to code-scanning dashboard.
          security-events: write
          # Needed to publish results and get a badge (see publish_results below).
          id-token: write
          # Uncomment the permissions below if installing in a private repository.
          # contents: read
          # actions: read
    
        steps:
          - name: "Checkout code"
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Wed Sep 03 19:19:31 UTC 2025
    - 2.9K bytes
    - Viewed (0)
  3. .github/workflows/publish.yml

      release:
        types:
          - created
    
    jobs:
      publish:
        runs-on: ubuntu-latest
        strategy:
          matrix:
            package:
              - fastapi
              - fastapi-slim
        permissions:
          id-token: write
        steps:
          - name: Dump GitHub context
            env:
              GITHUB_CONTEXT: ${{ toJson(github) }}
            run: echo "$GITHUB_CONTEXT"
          - uses: actions/checkout@v5
          - name: Set up Python
    Registered: Sun Sep 07 07:19:17 UTC 2025
    - Last Modified: Fri Sep 05 12:48:16 UTC 2025
    - 1K bytes
    - Viewed (0)
  4. guava-tests/test/com/google/common/reflect/TypeTokenTest.java

        TypeToken<List<String>[]> token = new TypeToken<List<String>[]>() {};
        assertEquals(List[].class, token.getRawType());
        assertThat(token.getType()).isInstanceOf(GenericArrayType.class);
      }
    
      public void testMultiDimensionalGenericArrayType() {
        TypeToken<List<Long>[][][]> token = new TypeToken<List<Long>[][][]>() {};
        assertEquals(List[][][].class, token.getRawType());
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Tue Sep 02 17:23:59 UTC 2025
    - 89K bytes
    - Viewed (0)
  5. android/guava-tests/test/com/google/common/reflect/TypeTokenTest.java

        TypeToken<List<String>[]> token = new TypeToken<List<String>[]>() {};
        assertEquals(List[].class, token.getRawType());
        assertThat(token.getType()).isInstanceOf(GenericArrayType.class);
      }
    
      public void testMultiDimensionalGenericArrayType() {
        TypeToken<List<Long>[][][]> token = new TypeToken<List<Long>[][][]>() {};
        assertEquals(List[][][].class, token.getRawType());
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Tue Sep 02 17:23:59 UTC 2025
    - 89K bytes
    - Viewed (0)
  6. tests/generics_test.go

    	} else if u.Name != user.Name || u.ID != user.ID {
    		t.Errorf("found invalid user, got %v, expect %v", u, user)
    	}
    
    	if u, err := gorm.G[User](DB).Where("name = ?", user.Name).Take(ctx); err != nil {
    		t.Fatalf("failed to find user, got error: %v", err)
    	} else if u.Name != user.Name || u.ID != user.ID {
    		t.Errorf("found invalid user, got %v, expect %v", u, user)
    	}
    
    Registered: Sun Sep 07 09:35:13 UTC 2025
    - Last Modified: Thu Sep 04 13:13:16 UTC 2025
    - 28K bytes
    - Viewed (0)
  7. generics.go

    	return err
    }
    
    func (g execG[T]) Last(ctx context.Context) (T, error) {
    	var r T
    	err := g.g.apply(ctx).Last(&r).Error
    	return r, err
    }
    
    func (g execG[T]) Take(ctx context.Context) (T, error) {
    	var r T
    	err := g.g.apply(ctx).Take(&r).Error
    	return r, err
    }
    
    func (g execG[T]) Find(ctx context.Context) ([]T, error) {
    	var r []T
    	err := g.g.apply(ctx).Find(&r).Error
    	return r, err
    }
    
    Registered: Sun Sep 07 09:35:13 UTC 2025
    - Last Modified: Thu Sep 04 13:13:16 UTC 2025
    - 15.5K bytes
    - Viewed (0)
  8. .github/workflows/ci.yml

          - name: 'Cancel previous runs'
            uses: styfle/cancel-workflow-action@85880fa0301c86cca9da44039ee3bb12d3bedbfa # 0.12.1
            with:
              access_token: ${{ github.token }}
          - name: 'Check out repository'
            uses: actions/checkout@08c6903cd8c0fde910a37f88322edcfb5dd907a8 # v5.0.0
          # When we specify multiple JDKs, the final one becomes the default, which is used to execute Maven itself.
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Wed Sep 03 19:19:31 UTC 2025
    - 4.7K bytes
    - Viewed (0)
  9. guava-gwt/pom.xml

                        <include name="**/InternalFutureFailureAccess.java" />
                      </fileset>
                    </copy>
                    <!-- Any manually written supersource should take priority over the original guava source, so we set overwrite=true. -->
                    <copy toDir="${project.build.directory}/guava-gwt-sources" overwrite="true">
                      <fileset dir="src-super" />
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Sep 04 21:35:58 UTC 2025
    - 19.4K bytes
    - Viewed (0)
  10. android/guava/src/com/google/common/reflect/TypeResolver.java

            // and enclosingclass -> superClass paths.
            // Since we follow the path of superclass first, enclosing second,
            // superclass mapping should take precedence.
            return;
          }
          // First, check whether var -> arg forms a cycle
          for (Type t = arg; t != null; t = mappings.get(TypeVariableKey.forLookup(t))) {
            if (var.equalsType(t)) {
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Wed Sep 03 14:03:14 UTC 2025
    - 24.2K bytes
    - Viewed (0)
Back to top