Search Options

Results per page
Sort
Preferred Languages
Advance

Results 3781 - 3790 of 3,892 for common (0.05 sec)

  1. docs/en/docs/tutorial/sql-databases.md

    {* ../../docs_src/sql_databases/tutorial001_an_py310.py ln[40:45] hl[40:45] *}
    
    </details>
    
    Here we use the `SessionDep` dependency (a `Session`) to add the new `Hero` to the `Session` instance, commit the changes to the database, refresh the data in the `hero`, and then return it.
    
    ### Read Heroes
    
    We can **read** `Hero`s from the database using a `select()`. We can include a `limit` and `offset` to paginate the results.
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Wed Oct 09 19:44:42 UTC 2024
    - 14.7K bytes
    - Viewed (0)
  2. tests/connpool_test.go

    		t.Fatalf("No error should raise, but got %v", err)
    	}
    
    	if err = tx2.First(&User{}, "name = ?", "transaction-2").Error; err != nil {
    		t.Fatalf("Should find saved record, but got %v", err)
    	}
    
    	tx2.Commit()
    
    	if err = db.First(&User{}, "name = ?", "transaction-2").Error; err != nil {
    		t.Fatalf("Should be able to find committed record, but got %v", err)
    	}
    Registered: Sun Nov 03 09:35:10 UTC 2024
    - Last Modified: Tue Feb 06 02:54:40 UTC 2024
    - 5.5K bytes
    - Viewed (0)
  3. src/bufio/example_test.go

    }
    
    // Use a Scanner with a custom split function to parse a comma-separated
    // list with an empty final value.
    func ExampleScanner_emptyFinalToken() {
    	// Comma-separated list; last entry is empty.
    	const input = "1,2,3,4,"
    	scanner := bufio.NewScanner(strings.NewReader(input))
    	// Define a split function that separates on commas.
    	onComma := func(data []byte, atEOF bool) (advance int, token []byte, err error) {
    Registered: Tue Nov 05 11:13:11 UTC 2024
    - Last Modified: Fri Nov 01 21:52:12 UTC 2024
    - 5.5K bytes
    - Viewed (0)
  4. src/cmd/asm/internal/lex/lex_test.go

    			"B",
    		),
    		"THIS.\n",
    	},
    	{
    		"nested #define with args",
    		lines(
    			"#define A #define B(x) x",
    			"A",
    			"B(THIS)",
    		),
    		"THIS.\n",
    	},
    	/* This one fails. See comment in Slice.Col.
    	{
    		"nested #define with args",
    		lines(
    			"#define A #define B (x) x",
    			"A",
    			"B(THIS)",
    		),
    		"x.\n",
    	},
    	*/
    }
    
    func TestLex(t *testing.T) {
    Registered: Tue Nov 05 11:13:11 UTC 2024
    - Last Modified: Tue Aug 29 07:48:38 UTC 2023
    - 5.8K bytes
    - Viewed (0)
  5. docs/fr/docs/help-fastapi.md

        * Suivez-moi pour voir quand je crée un nouveau projet Open Source.
    * <a href="https://twitter.com/tiangolo" class="external-link" target="_blank">Me suivre sur **Twitter**</a>.
        * Dites-moi comment vous utilisez FastAPI (j'adore entendre ça).
        * Entendre quand je fais des annonces ou que je lance de nouveaux outils.
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Mon Jul 29 23:35:07 UTC 2024
    - 5.7K bytes
    - Viewed (0)
  6. docs/fr/docs/tutorial/query-params.md

    ## Paramètres optionnels
    
    De la même façon, vous pouvez définir des paramètres de requête comme optionnels, en leur donnant comme valeur par défaut `None` :
    
    {* ../../docs_src/query_params/tutorial002.py hl[9] *}
    
    Ici, le paramètre `q` sera optionnel, et aura `None` comme valeur par défaut.
    
    /// check | "Remarque"
    
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Sun Oct 27 17:06:01 UTC 2024
    - 5.6K bytes
    - Viewed (0)
  7. docs/en/docs/tutorial/body-updates.md

    This means that you can send only the data that you want to update, leaving the rest intact.
    
    /// note
    
    `PATCH` is less commonly used and known than `PUT`.
    
    And many teams use only `PUT`, even for partial updates.
    
    You are **free** to use them however you want, **FastAPI** doesn't impose any restrictions.
    
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Sun Oct 06 20:36:54 UTC 2024
    - 5.6K bytes
    - Viewed (0)
  8. fess-crawler/src/main/java/org/codelibs/fess/crawler/client/http/HcHttpClient.java

    import java.util.Locale;
    import java.util.Map;
    import java.util.concurrent.TimeUnit;
    import java.util.regex.Pattern;
    
    import javax.net.ssl.SSLContext;
    
    import org.apache.commons.io.output.DeferredFileOutputStream;
    import org.apache.commons.lang3.SystemUtils;
    import org.apache.http.Header;
    import org.apache.http.HttpEntity;
    import org.apache.http.HttpHost;
    import org.apache.http.HttpResponse;
    Registered: Sun Nov 10 03:50:12 UTC 2024
    - Last Modified: Thu May 09 09:29:26 UTC 2024
    - 41K bytes
    - Viewed (0)
  9. docs/pt/docs/virtual-environments.md

    <div class="termy">
    
    ```console
    $ Get-Command python
    
    C:\Users\user\code\awesome-project\.venv\Scripts\python
    ```
    
    </div>
    
    ////
    
    Isso significa que o programa `python` que será usado é aquele **no ambiente virtual**.
    
    você usa `which` no Linux e macOS e `Get-Command` no Windows PowerShell.
    
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Tue Sep 10 10:37:13 UTC 2024
    - 22.6K bytes
    - Viewed (0)
  10. docs/ru/docs/contributing.md

    <div class="termy">
    
    ```console
    $ which pip
    
    some/directory/fastapi/env/bin/pip
    ```
    
    </div>
    
    ////
    
    //// tab | Windows PowerShell
    
    <div class="termy">
    
    ```console
    $ Get-Command pip
    
    some/directory/fastapi/env/bin/pip
    ```
    
    </div>
    
    ////
    
    Если в терминале появится ответ, что бинарник `pip` расположен по пути `.../env/bin/pip`, значит всё в порядке. 🎉
    
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Tue Aug 06 04:48:30 UTC 2024
    - 22.5K bytes
    - Viewed (0)
Back to top