Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 1,399 for buat (0.08 sec)

  1. docs/id/docs/tutorial/path-params.md

    ### Membuat class `Enum`
    
    Import `Enum` dan buat *sub-class* warisan dari `str` dan `Enum`.
    
    Dengan warisan dari `str` dokumen API mengetahui nilai nya harus berjenis `string` supaya bisa digunakan dengan benar.
    
    Kemudian buat atribut *class* dengan nilai tetap *string* yang benar:
    
    {* ../../docs_src/path_params/tutorial005.py hl[1,6:9] *}
    
    /// info
    Registered: Sun Sep 07 07:19:17 UTC 2025
    - Last Modified: Sun Aug 31 10:29:01 UTC 2025
    - 8.8K bytes
    - Viewed (0)
  2. docs/id/docs/index.md

    ---> 100%
    ```
    
    </div>
    
    **Catatan**: Pastikan anda menulis `"fastapi[standard]"` dengan tanda petik untuk memastikan bisa digunakan di semua *terminal*.
    
    ## Contoh
    
    ### Buat app
    
    * Buat file `main.py` dengan:
    
    ```Python
    from typing import Union
    
    from fastapi import FastAPI
    
    app = FastAPI()
    
    
    @app.get("/")
    def read_root():
        return {"Hello": "World"}
    
    
    Registered: Sun Sep 07 07:19:17 UTC 2025
    - Last Modified: Sun Aug 31 10:49:48 UTC 2025
    - 20.5K bytes
    - Viewed (0)
  3. apache-maven/src/assembly/maven/bin/mvn.cmd

    @REM check for pre script, once with legacy .bat ending and once with .cmd ending
    if exist "%USERPROFILE%\mavenrc_pre.bat" echo Warning: The mavenrc_pre.bat script is deprecated and will be removed in a future version. >&2
    if exist "%USERPROFILE%\mavenrc_pre.bat" call "%USERPROFILE%\mavenrc_pre.bat" %*
    Registered: Sun Sep 07 03:35:12 UTC 2025
    - Last Modified: Thu Jul 24 09:49:07 UTC 2025
    - 9.6K bytes
    - Viewed (3)
  4. docs/vi/docs/index.md

        * Tham số `q` được định nghĩa `= None`, nó là tùy chọn.
        * Nếu không phải `None`, nó là bắt buộc (như body trong trường hợp của `PUT`).
    * Với request `PUT` tới `/items/{item_id}`, đọc body như JSON:
        * Kiểm tra xem nó có một thuộc tính bắt buộc kiểu  `str` là `name` không?
        * Kiểm tra xem nó có một thuộc tính bắt buộc kiểu `float` là `price` không?
    Registered: Sun Sep 07 07:19:17 UTC 2025
    - Last Modified: Sun Aug 31 10:49:48 UTC 2025
    - 21.9K bytes
    - Viewed (0)
  5. src/test/java/jcifs/pac/PacLogonInfoTest.java

            when(logonInfo.getHomeDirectory()).thenReturn("\\\\server\\\\home");
            when(logonInfo.getHomeDrive()).thenReturn("H:");
            when(logonInfo.getLogonScript()).thenReturn("logon.bat");
            when(logonInfo.getUserAccountControl()).thenReturn(0x200);
            when(logonInfo.getUserFlags()).thenReturn(0);
            when(logonInfo.getUserSid()).thenReturn(userSid);
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 12.3K bytes
    - Viewed (0)
  6. cmd/object_api_suite_test.go

    			t.Errorf("%s: Expected the object name to be `%s`, but instead found `%s`", instanceType, "newPrefix", result.Objects[0].Name)
    		}
    		if result.Objects[1].Name != "newPrefix2" {
    			t.Errorf("%s: Expected the object name to be `%s`, but instead found `%s`", instanceType, "newPrefix", result.Objects[1].Name)
    		}
    		if result.Objects[2].Name != "obj0" {
    Registered: Sun Sep 07 19:28:11 UTC 2025
    - Last Modified: Fri Aug 29 02:39:48 UTC 2025
    - 34.5K bytes
    - Viewed (0)
  7. cmd/object-api-multipart_test.go

    			t.Errorf("Test %d: %s: Expected to pass, but failed with: <ERROR> %s.", i+1, instanceType, actualErr.Error())
    		}
    		if actualErr == nil && !testCase.shouldPass {
    			t.Errorf("Test %d: %s: Expected to fail with <ERROR> \"%s\", but passed instead.", i+1, instanceType, testCase.expectedError.Error())
    		}
    		// Failed as expected, but does it fail for the expected reason.
    		if actualErr != nil && !testCase.shouldPass {
    Registered: Sun Sep 07 19:28:11 UTC 2025
    - Last Modified: Fri Aug 29 02:39:48 UTC 2025
    - 89.4K bytes
    - Viewed (0)
  8. docs/en/docs/advanced/security/oauth2-scopes.md

    If you don't select any scope, you will be "authenticated", but when you try to access `/users/me/` or `/users/me/items/` you will get an error saying that you don't have enough permissions. You will still be able to access `/status/`.
    
    And if you select the scope `me` but not the scope `items`, you will be able to access `/users/me/` but not `/users/me/items/`.
    
    Registered: Sun Sep 07 07:19:17 UTC 2025
    - Last Modified: Sun Aug 31 10:49:48 UTC 2025
    - 13.5K bytes
    - Viewed (0)
  9. schema/schema_helper_test.go

    			if r.Name != relation.Name {
    				t.Errorf("schema %v relation name expects %v, but got %v", s, r.Name, relation.Name)
    			}
    
    			if r.Type != relation.Type {
    				t.Errorf("schema %v relation name expects %v, but got %v", s, r.Type, relation.Type)
    			}
    
    			if r.Schema.Name != relation.Schema {
    				t.Errorf("schema %v relation's schema expects %v, but got %v", s, relation.Schema, r.Schema.Name)
    			}
    
    Registered: Sun Sep 07 09:35:13 UTC 2025
    - Last Modified: Thu Aug 28 02:57:17 UTC 2025
    - 7.5K bytes
    - Viewed (0)
  10. docs/en/docs/tutorial/response-model.md

    That's why in this example we have to declare it in the `response_model` parameter.
    
    ...but continue reading below to see how to overcome that.
    
    ## Return Type and Data Filtering { #return-type-and-data-filtering }
    
    Let's continue from the previous example. We wanted to **annotate the function with one type**, but we wanted to be able to return from the function something that actually includes **more data**.
    
    Registered: Sun Sep 07 07:19:17 UTC 2025
    - Last Modified: Sun Aug 31 09:15:41 UTC 2025
    - 16K bytes
    - Viewed (0)
Back to top