Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 431 - 440 of 473 for SMethod (0.09 seconds)

  1. fastapi/security/oauth2.py

            But declaring any other authentication challenge would be application-specific
            as it's not defined in the specification.
    
            For practical reasons, this method uses the `Bearer` challenge by default, as
            it's probably the most common one.
    
            If you are implementing an OAuth2 authentication scheme other than the provided
    Created: Sun Dec 28 07:19:09 GMT 2025
    - Last Modified: Wed Dec 17 21:25:59 GMT 2025
    - 22K bytes
    - Click Count (0)
  2. compat/maven-artifact/src/main/java/org/apache/maven/artifact/versioning/ComparableVersion.java

            public boolean isNull() {
                return value == null || value.isEmpty();
            }
    
            /**
             * Returns a comparable value for a qualifier.
             * <p>
             * This method takes into account the ordering of known qualifiers then unknown qualifiers with lexical
             * ordering.
             * <p>
             *
             * @param qualifier
    Created: Sun Dec 28 03:35:09 GMT 2025
    - Last Modified: Wed Jul 23 17:27:08 GMT 2025
    - 26.4K bytes
    - Click Count (0)
  3. tests/sql_builder_test.go

    		})
    	})
    	assertEqualSQL(t, `SELECT * FROM users ORDER BY id DESC`, sql)
    }
    
    // assertEqualSQL for assert that the sql is equal, this method will ignore quote, and dialect specials.
    func assertEqualSQL(t *testing.T, expected string, actually string) {
    	t.Helper()
    
    	// replace SQL quote, convert into postgresql like ""
    	expected = replaceQuoteInSQL(expected)
    Created: Sun Dec 28 09:35:17 GMT 2025
    - Last Modified: Mon Jul 21 02:46:58 GMT 2025
    - 16.7K bytes
    - Click Count (0)
  4. cmd/streaming-signature-v4.go

    	}
    
    	// Query string.
    	queryStr := req.Form.Encode()
    
    	// Get canonical request.
    	canonicalRequest := getCanonicalRequest(extractedSignedHeaders, payload, queryStr, req.URL.Path, req.Method)
    
    	// Get string to sign from canonical request.
    	stringToSign := getStringToSign(canonicalRequest, date, signV4Values.Credential.getScope())
    
    	// Get hmac signing key.
    Created: Sun Dec 28 19:28:13 GMT 2025
    - Last Modified: Sun Sep 28 20:59:21 GMT 2025
    - 18.2K bytes
    - Click Count (0)
  5. docs/en/docs/tutorial/response-model.md

    * `@app.post()`
    * `@app.put()`
    * `@app.delete()`
    * etc.
    
    {* ../../docs_src/response_model/tutorial001_py310.py hl[17,22,24:27] *}
    
    /// note
    
    Notice that `response_model` is a parameter of the "decorator" method (`get`, `post`, etc). Not of your *path operation function*, like all the parameters and body.
    
    ///
    
    Created: Sun Dec 28 07:19:09 GMT 2025
    - Last Modified: Sat Dec 20 15:55:38 GMT 2025
    - 15.5K bytes
    - Click Count (0)
  6. impl/maven-cli/src/test/java/org/apache/maven/cling/invoker/mvnup/goals/ModelVersionUtilsTest.java

                String schemaLocation = ModelVersionUtils.getSchemaLocationForModelVersion("5.0.0");
                assertNotNull(schemaLocation); // Should return 4.2.0 schema for newer versions
                // The method returns the 4.2.0 schema location for versions newer than 4.1.0
                assertTrue(
                        schemaLocation.contains("4.2.0"),
    Created: Sun Dec 28 03:35:09 GMT 2025
    - Last Modified: Tue Nov 18 18:03:26 GMT 2025
    - 19.6K bytes
    - Click Count (0)
  7. docs/en/docs/advanced/custom-response.md

    Let's say you want it to return indented and formatted JSON, so you want to use the orjson option `orjson.OPT_INDENT_2`.
    
    You could create a `CustomORJSONResponse`. The main thing you have to do is create a `Response.render(content)` method that returns the content as `bytes`:
    
    {* ../../docs_src/custom_response/tutorial009c_py39.py hl[9:14,17] *}
    
    Now instead of returning:
    
    ```json
    {"message": "Hello World"}
    ```
    
    Created: Sun Dec 28 07:19:09 GMT 2025
    - Last Modified: Wed Dec 17 20:41:43 GMT 2025
    - 12.4K bytes
    - Click Count (0)
  8. compat/maven-embedder/src/test/java/org/apache/maven/cli/MavenCliTest.java

                System.setProperty(MavenCli.MULTIMODULE_PROJECT_DIRECTORY, origBasedir);
            } else {
                System.getProperties().remove(MavenCli.MULTIMODULE_PROJECT_DIRECTORY);
            }
        }
    
        // Helper method for containsExactlyInAnyOrder assertion
        private static <T> void assertContainsExactlyInAnyOrder(Collection<T> actual, T... expected) {
            assertEquals(expected.length, actual.size(), "Collection size mismatch");
    Created: Sun Dec 28 03:35:09 GMT 2025
    - Last Modified: Wed Sep 17 10:01:14 GMT 2025
    - 30.9K bytes
    - Click Count (0)
  9. docs/en/docs/tutorial/bigger-applications.md

    * The response `418`. 🍵
    
    But that will only affect that `APIRouter` in our app, not in any other code that uses it.
    
    So, for example, other projects could use the same `APIRouter` with a different authentication method.
    
    ### Include a *path operation* { #include-a-path-operation }
    
    We can also add *path operations* directly to the `FastAPI` app.
    
    Here we do it... just to show that we can 🤷:
    
    Created: Sun Dec 28 07:19:09 GMT 2025
    - Last Modified: Wed Dec 10 08:55:32 GMT 2025
    - 18.6K bytes
    - Click Count (0)
  10. src/archive/tar/writer.go

    	hdr  Header     // Shallow copy of Header that is safe for mutations
    	blk  block      // Buffer to use as temporary local storage
    
    	// err is a persistent error.
    	// It is only the responsibility of every exported method of Writer to
    	// ensure that this error is sticky.
    	err error
    }
    
    // NewWriter creates a new Writer writing to w.
    func NewWriter(w io.Writer) *Writer {
    	return &Writer{w: w, curr: &regFileWriter{w, 0}}
    }
    
    Created: Tue Dec 30 11:13:12 GMT 2025
    - Last Modified: Mon Feb 03 16:38:43 GMT 2025
    - 19.7K bytes
    - Click Count (0)
Back to Top