Search Options

Results per page
Sort
Preferred Languages
Advance

Results 291 - 300 of 373 for defs (0.01 sec)

  1. docs/de/docs/tutorial/path-params-numeric-validations.md

    {* ../../docs_src/path_params_numeric_validations/tutorial001_an_py310.py hl[10] *}
    
    /// note | Hinweis
    
    Ein Pfad-Parameter ist immer erforderlich, weil er Teil des Pfads sein muss.
    
    Sie sollten ihn daher mit `...` deklarieren, um ihn als erforderlich auszuzeichnen.
    
    Registered: Sun Sep 07 07:19:17 UTC 2025
    - Last Modified: Mon Nov 18 02:25:44 UTC 2024
    - 7K bytes
    - Viewed (0)
  2. docs/ru/docs/tutorial/request-files.md

    Например, внутри `async` *функции операции пути* можно получить содержимое с помощью:
    
    ```Python
    contents = await myfile.read()
    ```
    
    Если вы находитесь внутри обычной `def` *функции операции пути*, можно получить прямой доступ к файлу `UploadFile.file`, например:
    
    ```Python
    contents = myfile.file.read()
    ```
    
    /// note | Технические детали `async`
    
    Registered: Sun Sep 07 07:19:17 UTC 2025
    - Last Modified: Mon Nov 18 02:25:44 UTC 2024
    - 11.1K bytes
    - Viewed (0)
  3. docs/ru/docs/features.md

    Вы пишете на стандартном Python с аннотациями типов:
    
    ```Python
    from datetime import date
    
    from pydantic import BaseModel
    
    # Объявляем параметр user_id с типом `str`
    # и получаем поддержку редактора внутри функции
    def main(user_id: str):
        return user_id
    
    
    # Модель Pydantic
    class User(BaseModel):
        id: int
        name: str
        joined: date
    ```
    
    Это можно использовать так:
    
    ```Python
    Registered: Sun Sep 07 07:19:17 UTC 2025
    - Last Modified: Sat Nov 09 16:39:20 UTC 2024
    - 16.2K bytes
    - Viewed (0)
  4. src/test/java/jcifs/internal/RequestWithPathTest.java

            assertEquals(fqdnUNC, testImplementation.getFullUNCPath());
            assertEquals("server.example.com", testImplementation.getServer());
        }
    
        @Test
        @DisplayName("Test resolve in DFS flag toggles")
        void testResolveInDfsToggle() {
            // Initial state should be false
            assertFalse(testImplementation.isResolveInDfs());
    
            // Toggle to true
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 12.2K bytes
    - Viewed (0)
  5. src/test/java/jcifs/dcerpc/DcerpcPipeHandleTest.java

                assertEquals("testServer", handle.getServer());
            }
    
            @Test
            @DisplayName("Should return correct server name with DFS")
            void testGetServerWithDfs() throws Exception {
                DcerpcPipeHandle handle = createMockedDcerpcPipeHandle();
                when(mockSmbResourceLocator.getServerWithDfs()).thenReturn("testServerDfs");
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 21K bytes
    - Viewed (0)
  6. docs/fa/docs/features.md

    شما پایتون استاندارد را با استفاده از تایپ ها مینویسید:
    
    ```Python
    from datetime import date
    
    from pydantic import BaseModel
    
    # Declare a variable as a str
    # and get editor support inside the function
    def main(user_id: str):
        return user_id
    
    
    # A Pydantic model
    class User(BaseModel):
        id: int
        name: str
        joined: date
    ```
    
    که سپس میتوان به این شکل از آن استفاده کرد:
    
    ```Python
    Registered: Sun Sep 07 07:19:17 UTC 2025
    - Last Modified: Tue Aug 06 04:48:30 UTC 2024
    - 15K bytes
    - Viewed (0)
  7. src/test/java/jcifs/internal/smb2/rdma/RdmaIntegrationTest.java

            PropertyConfiguration config = new PropertyConfiguration(props);
            testContext = new BaseContext(config);
        }
    
        // ============================================
        // UNIT TESTS - Always run, no external deps
        // ============================================
    
        @Test
        public void testRdmaProviderSelectionAlwaysReturnsProvider() {
            // This should always return at least the TCP fallback provider
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 23 05:11:12 UTC 2025
    - 13.8K bytes
    - Viewed (0)
  8. src/cmd/api/main_test.go

    	}
    
    	name := contextName(w.context)
    
    	imports, ok := listCache.Load(name)
    	if !ok {
    		listSem <- semToken{}
    		defer func() { <-listSem }()
    
    		cmd := exec.Command(goCmd(), "list", "-e", "-deps", "-json", "std")
    		cmd.Env = listEnv(w.context)
    		if w.context.Dir != "" {
    			cmd.Dir = w.context.Dir
    		}
    		cmd.Stderr = os.Stderr
    		out, err := cmd.Output()
    		if err != nil {
    Registered: Tue Sep 09 11:13:09 UTC 2025
    - Last Modified: Thu Feb 20 03:25:33 UTC 2025
    - 31.4K bytes
    - Viewed (0)
  9. docs/em/docs/deployment/docker.md

    * ✍ `main.py` 📁 ⏮️:
    
    ```Python
    from typing import Union
    
    from fastapi import FastAPI
    
    app = FastAPI()
    
    
    @app.get("/")
    def read_root():
        return {"Hello": "World"}
    
    
    @app.get("/items/{item_id}")
    def read_item(item_id: int, q: Union[str, None] = None):
        return {"item_id": item_id, "q": q}
    ```
    
    ### 📁
    
    🔜 🎏 🏗 📁 ✍ 📁 `Dockerfile` ⏮️:
    
    Registered: Sun Sep 07 07:19:17 UTC 2025
    - Last Modified: Mon Aug 12 21:47:53 UTC 2024
    - 27.9K bytes
    - Viewed (0)
  10. docs/pt/docs/tutorial/request_files.md

    ```Python
    contents = await myfile.read()
    ```
    
    Se você estiver dentro de uma *função de operação de rota* definida normalmente com `def`, você pode acessar `UploadFile.file` diretamente, por exemplo:
    
    ```Python
    contents = myfile.file.read()
    ```
    
    /// note | Detalhes técnicos do `async`
    
    Registered: Sun Sep 07 07:19:17 UTC 2025
    - Last Modified: Mon Nov 18 02:25:44 UTC 2024
    - 7.7K bytes
    - Viewed (0)
Back to top