Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1501 - 1510 of 3,181 for get2 (0.03 sec)

  1. cmd/post-policy_test.go

    	// Check the new location url
    	if rec.Header().Get("Location") != expectedLocation {
    		t.Errorf("Unexpected location, expected = %s, found = `%s`", rec.Header().Get("Location"), expectedLocation)
    	}
    }
    
    // postPresignSignatureV4 - presigned signature for PostPolicy requests.
    func postPresignSignatureV4(policyBase64 string, t time.Time, secretAccessKey, location string) string {
    	// Get signining key.
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Wed May 22 23:07:14 UTC 2024
    - 30.2K bytes
    - Viewed (0)
  2. docs_src/separate_openapi_schemas/tutorial002_py39.py

    class Item(BaseModel):
        name: str
        description: Optional[str] = None
    
    
    app = FastAPI(separate_input_output_schemas=False)
    
    
    @app.post("/items/")
    def create_item(item: Item):
        return item
    
    
    @app.get("/items/")
    def read_items() -> list[Item]:
        return [
            Item(
                name="Portal Gun",
                description="Device to travel through the multi-rick-verse",
            ),
            Item(name="Plumbus"),
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Fri Aug 25 19:10:22 UTC 2023
    - 518 bytes
    - Viewed (0)
  3. docs_src/bigger_applications/app_an/main.py

    app.include_router(items.router)
    app.include_router(
        admin.router,
        prefix="/admin",
        tags=["admin"],
        dependencies=[Depends(get_token_header)],
        responses={418: {"description": "I'm a teapot"}},
    )
    
    
    @app.get("/")
    async def root():
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Sat Mar 18 12:29:59 UTC 2023
    - 552 bytes
    - Viewed (0)
  4. docs_src/query_param_models/tutorial002_an_py39.py

        model_config = {"extra": "forbid"}
    
        limit: int = Field(100, gt=0, le=100)
        offset: int = Field(0, ge=0)
        order_by: Literal["created_at", "updated_at"] = "created_at"
        tags: list[str] = []
    
    
    @app.get("/items/")
    async def read_items(filter_query: Annotated[FilterParams, Query()]):
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Tue Sep 17 18:54:10 UTC 2024
    - 493 bytes
    - Viewed (0)
  5. docs_src/query_param_models/tutorial002_pv1_py310.py

            extra = "forbid"
    
        limit: int = Field(100, gt=0, le=100)
        offset: int = Field(0, ge=0)
        order_by: Literal["created_at", "updated_at"] = "created_at"
        tags: list[str] = []
    
    
    @app.get("/items/")
    async def read_items(filter_query: FilterParams = Query()):
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Tue Sep 17 18:54:10 UTC 2024
    - 466 bytes
    - Viewed (0)
  6. build-logic/documentation/src/main/groovy/gradlebuild/docs/dsl/docbook/JavadocConverter.java

            // Replace 'Returns the ...'/'Sets the ...' with 'The ...'
            List<Element> nodes = docComment.getDocbook();
            if (nodes.isEmpty()) {
                return;
            }
    
            Element firstNode = nodes.get(0);
            if (!firstNode.getNodeName().equals("para") || !(firstNode.getFirstChild() instanceof Text)) {
                return;
            }
    
            Text comment = (Text) firstNode.getFirstChild();
    Registered: Wed Nov 06 11:36:14 UTC 2024
    - Last Modified: Wed Dec 09 08:14:05 UTC 2020
    - 29.3K bytes
    - Viewed (0)
  7. impl/maven-core/src/main/java/org/apache/maven/DuplicateProjectException.java

            super(message, (File) null);
    
            this.collisions = (collisions != null) ? collisions : new LinkedHashMap<>();
        }
    
        /**
         * Gets the POM files of the projects that collided.
         *
         * @return The POM files of the projects that collided, indexed by their g:a:v, never {@code null}.
         */
        public Map<String, List<File>> getCollisions() {
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 1.9K bytes
    - Viewed (0)
  8. compat/maven-settings-builder/src/main/java/org/apache/maven/settings/building/StringSettingsSource.java

         * @param location The location to report for this use, may be {@code null}.
         */
        public StringSettingsSource(CharSequence settings, String location) {
            super(settings, location);
        }
    
        /**
         * Gets the character sequence of this settings source.
         *
         * @return The underlying character stream, never {@code null}.
         * @deprecated instead use {@link #getContent()}
         */
        @Deprecated
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 2K bytes
    - Viewed (0)
  9. android/guava-testlib/src/com/google/common/collect/testing/testers/NavigableMapNavigationTester.java

        sort(entries, Helpers.<K, V>entryComparator(navigableMap.comparator()));
    
        // some tests assume SEVERAL == 3
        if (entries.size() >= 1) {
          a = entries.get(0);
          if (entries.size() >= 3) {
            b = entries.get(1);
            c = entries.get(2);
          }
        }
      }
    
      /** Resets the contents of navigableMap to have entries a, c, for the navigation tests. */
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Oct 30 16:15:19 UTC 2024
    - 9K bytes
    - Viewed (0)
  10. android/guava/src/com/google/common/collect/ForwardingList.java

      @Override
      public boolean addAll(int index, Collection<? extends E> elements) {
        return delegate().addAll(index, elements);
      }
    
      @Override
      @ParametricNullness
      public E get(int index) {
        return delegate().get(index);
      }
    
      @Override
      public int indexOf(@CheckForNull Object element) {
        return delegate().indexOf(element);
      }
    
      @Override
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Fri May 12 15:26:39 UTC 2023
    - 7.9K bytes
    - Viewed (0)
Back to top