Search Options

Results per page
Sort
Preferred Languages
Advance

Results 551 - 560 of 3,345 for Create (0.74 sec)

  1. tests/test_security_http_digest_optional.py

        assert response.json() == {"msg": "Create an account first"}
    
    
    def test_security_http_digest_incorrect_scheme_credentials():
        response = client.get(
            "/users/me", headers={"Authorization": "Other invalidauthorization"}
        )
        assert response.status_code == 200, response.text
        assert response.json() == {"msg": "Create an account first"}
    
    
    def test_openapi_schema():
    Registered: Sun Dec 28 07:19:09 UTC 2025
    - Last Modified: Thu Feb 27 12:29:20 UTC 2025
    - 2.2K bytes
    - Viewed (0)
  2. docs/en/docs/tutorial/dependencies/dependencies-with-yield.md

        contents = f.read()
        print(contents)
    ```
    
    Underneath, the `open("./somefile.txt")` creates an object that is called a "Context Manager".
    
    When the `with` block finishes, it makes sure to close the file, even if there were exceptions.
    
    When you create a dependency with `yield`, **FastAPI** will internally create a context manager for it, and combine it with some other related tools.
    
    Registered: Sun Dec 28 07:19:09 UTC 2025
    - Last Modified: Wed Dec 17 20:41:43 UTC 2025
    - 12.9K bytes
    - Viewed (0)
  3. docs/en/docs/advanced/sub-applications.md

    ### Top-level application { #top-level-application }
    
    First, create the main, top-level, **FastAPI** application, and its *path operations*:
    
    {* ../../docs_src/sub_applications/tutorial001_py39.py hl[3, 6:8] *}
    
    ### Sub-application { #sub-application }
    
    Then, create your sub-application, and its *path operations*.
    
    Registered: Sun Dec 28 07:19:09 UTC 2025
    - Last Modified: Wed Dec 17 20:41:43 UTC 2025
    - 3K bytes
    - Viewed (0)
  4. internal/config/crypto_test.go

    	if err != nil {
    		t.Fatalf("Failed to decode master key: %v", err)
    	}
    	KMS, err := kms.NewBuiltin("my-key", key)
    	if err != nil {
    		t.Fatalf("Failed to create KMS: %v", err)
    	}
    
    	for i, test := range encryptDecryptTests {
    		ciphertext, err := Encrypt(KMS, bytes.NewReader(test.Data), test.Context)
    		if err != nil {
    			t.Fatalf("Test %d: failed to encrypt stream: %v", i, err)
    Registered: Sun Dec 28 19:28:13 UTC 2025
    - Last Modified: Fri Aug 29 02:39:48 UTC 2025
    - 3.2K bytes
    - Viewed (0)
  5. src/main/java/org/codelibs/fess/app/web/admin/fileconfig/CreateForm.java

    import jakarta.validation.constraints.Max;
    import jakarta.validation.constraints.Min;
    import jakarta.validation.constraints.Size;
    
    /**
     * The create form for File Config.
     *
     */
    public class CreateForm {
    
        /**
         * Creates a new CreateForm instance.
         */
        public CreateForm() {
        }
    
        /** The IDs of label types associated with this file configuration. */
    Registered: Sat Dec 20 09:19:18 UTC 2025
    - Last Modified: Thu Jul 17 08:28:31 UTC 2025
    - 5.6K bytes
    - Viewed (0)
  6. cmd/os-readdir_test.go

    			testResults = append(testResults, result{dir, entries})
    			t.Fatalf("Unable to create a file, %s", err)
    		}
    		// Symlink will not be added to entries.
    		if err := os.Symlink(filepath.Join(dir, name1), filepath.Join(dir, name2)); err != nil {
    			t.Fatalf("Unable to create a symlink, %s", err)
    		}
    		// Add to entries.
    		entries = append(entries, name1)
    Registered: Sun Dec 28 19:28:13 UTC 2025
    - Last Modified: Tue May 27 15:19:03 UTC 2025
    - 7.5K bytes
    - Viewed (0)
  7. src/main/java/jcifs/internal/fscc/FileBasicInfo.java

         *
         * @param create file creation time
         * @param lastAccess last access time
         * @param lastWrite last write time
         * @param change last change time
         * @param attributes file attributes
         */
        public FileBasicInfo(final long create, final long lastAccess, final long lastWrite, final long change, final int attributes) {
            this.createTime = create;
            this.lastAccessTime = lastAccess;
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 4.7K bytes
    - Viewed (0)
  8. src/main/java/jcifs/internal/smb1/com/SmbComCreateDirectory.java

    /**
     * SMB1 COM_CREATE_DIRECTORY command implementation.
     *
     * This command creates a new directory on the server.
     */
    public class SmbComCreateDirectory extends ServerMessageBlock {
    
        /**
         * Creates a new SMB1 create directory request.
         *
         * @param config the CIFS configuration
         * @param directoryName the name of the directory to create
         */
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 2.2K bytes
    - Viewed (0)
  9. src/test/java/jcifs/internal/dfs/DfsReferralDataInternalTest.java

            @Test
            @DisplayName("Should handle multiple fixup operations")
            void testMultipleFixupOperations() {
                // Create a properly initialized instance for fixup operations
                DfsReferralDataImpl impl = createInitializedDfsReferralDataImpl();
    
                // Create a chain of operations
                assertDoesNotThrow(() -> {
                    impl.fixupHost("server1.example.com");
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 28.2K bytes
    - Viewed (0)
  10. src/main/java/org/codelibs/fess/app/logic/AccessContextLogic.java

        // ===================================================================================
        //                                                                      Create Context
        //                                                                      ==============
        /**
         * Create the access context.
         * @param resource The access context resource.
         * @param userTypeSupplier The supplier of user type.
    Registered: Sat Dec 20 09:19:18 UTC 2025
    - Last Modified: Thu Jul 17 08:28:31 UTC 2025
    - 4K bytes
    - Viewed (0)
Back to top