Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 17 for MyFile (0.09 sec)

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

    ## Yol İçeren Yol Parametreleri
    
    Farz edelim ki elinizde `/files/{file_path}` isminde bir *yol operasyonu* var.
    
    Fakat `file_path` değerinin `home/johndoe/myfile.txt` gibi bir *yol* barındırmasını istiyorsunuz.
    
    Sonuç olarak, oluşturmak istediğin URL `/files/home/johndoe/myfile.txt` gibi bir şey olacaktır.
    
    ### OpenAPI Desteği
    
    Registered: Mon Jun 17 08:32:26 UTC 2024
    - Last Modified: Fri Mar 22 01:42:11 UTC 2024
    - 10.8K bytes
    - Viewed (0)
  2. docs/ru/docs/tutorial/request-files.md

    * `read(size)`: Прочитать количество `size` (`int`) байт/символов из файла.
    * `seek(offset)`: Перейти к байту на позиции `offset` (`int`) в файле.
        * Наример, `await myfile.seek(0)` перейдет к началу файла.
        * Это особенно удобно, если вы один раз выполнили команду `await myfile.read()`, а затем вам нужно прочитать содержимое файла еще раз.
    * `close()`: Закрыть файл.
    
    Registered: Mon Jun 17 08:32:26 UTC 2024
    - Last Modified: Wed Mar 13 19:02:19 UTC 2024
    - 15.4K bytes
    - Viewed (0)
  3. docs/ru/docs/tutorial/path-params.md

    ## Path-параметры, содержащие пути
    
    Предположим, что есть *операция пути* с путем `/files/{file_path}`.
    
    Но вам нужно, чтобы `file_path` сам содержал *путь*, например, `home/johndoe/myfile.txt`.
    
    Тогда URL для этого файла будет такой: `/files/home/johndoe/myfile.txt`.
    
    ### Поддержка OpenAPI
    
    Registered: Mon Jun 17 08:32:26 UTC 2024
    - Last Modified: Fri Mar 22 01:42:11 UTC 2024
    - 14.1K bytes
    - Viewed (0)
  4. docs/fr/docs/tutorial/path-params.md

    Disons que vous avez une *fonction de chemin* liée au chemin `/files/{file_path}`.
    
    Mais que `file_path` lui-même doit contenir un *chemin*, comme `home/johndoe/myfile.txt` par exemple.
    
    Donc, l'URL pour ce fichier pourrait être : `/files/home/johndoe/myfile.txt`.
    
    ### Support d'OpenAPI
    
    Registered: Mon Jun 17 08:32:26 UTC 2024
    - Last Modified: Thu Apr 18 19:53:19 UTC 2024
    - 10K bytes
    - Viewed (0)
  5. platforms/software/resources-s3/src/test/groovy/org/gradle/internal/resource/transport/aws/s3/S3ClientTest.groovy

            URI uri = new URI("s3://localhost/maven/snapshot/myFile.txt")
    
            when:
            client.put(Mock(InputStream), 12L, uri)
            then:
            1 * amazonS3Client.putObject(*_) >> { args ->
                PutObjectRequest putObjectRequest = args[0]
                assert putObjectRequest.bucketName == 'localhost'
                assert putObjectRequest.key == 'maven/snapshot/myFile.txt'
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Oct 12 19:38:08 UTC 2023
    - 10.3K bytes
    - Viewed (0)
  6. docs/de/docs/tutorial/request-files.md

    * `read(anzahl)`: Liest `anzahl` (`int`) bytes/Zeichen aus der Datei.
    * `seek(versatz)`: Geht zur Position `versatz` (`int`) in der Datei.
        * Z. B. würde `await myfile.seek(0)` zum Anfang der Datei gehen.
        * Das ist besonders dann nützlich, wenn Sie `await myfile.read()` einmal ausführen und dann diese Inhalte erneut auslesen müssen.
    * `close()`: Schließt die Datei.
    
    Registered: Mon Jun 17 08:32:26 UTC 2024
    - Last Modified: Sat Mar 30 17:58:08 UTC 2024
    - 11.5K bytes
    - Viewed (0)
  7. docs/en/docs/tutorial/request-files.md

    * `read(size)`: Reads `size` (`int`) bytes/characters of the file.
    * `seek(offset)`: Goes to the byte position `offset` (`int`) in the file.
        * E.g., `await myfile.seek(0)` would go to the start of the file.
        * This is especially useful if you run `await myfile.read()` once and then need to read the contents again.
    * `close()`: Closes the file.
    
    As all these methods are `async` methods, you need to "await" them.
    
    Registered: Mon Jun 17 08:32:26 UTC 2024
    - Last Modified: Wed Mar 13 19:02:19 UTC 2024
    - 10.2K bytes
    - Viewed (0)
  8. docs/de/docs/tutorial/path-params.md

    Angenommen, Sie haben eine *Pfadoperation* mit einem Pfad `/files/{file_path}`.
    
    Aber `file_path` soll selbst einen *Pfad* enthalten, etwa `home/johndoe/myfile.txt`.
    
    Sprich, die URL für diese Datei wäre etwas wie: `/files/home/johndoe/myfile.txt`.
    
    ### OpenAPI Unterstützung
    
    Registered: Mon Jun 17 08:32:26 UTC 2024
    - Last Modified: Sat Mar 30 20:28:59 UTC 2024
    - 10.3K bytes
    - Viewed (0)
  9. platforms/jvm/testing-jvm/src/integTest/groovy/org/gradle/testing/TestInputAnnotationFailuresIntegrationTest.groovy

            'File'                | 'myField'   | "File myField = project.layout.projectDirectory.file('myFile.txt').getAsFile()" | 'myField.absolutePath'
            'RegularFile'         | 'myField'   | "RegularFile myField = project.layout.projectDirectory.file('myFile.txt')"      | 'myField.getAsFile().absolutePath'
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Sep 18 20:52:40 UTC 2023
    - 10.6K bytes
    - Viewed (0)
  10. docs/ko/docs/tutorial/path-params.md

      "message": "Deep Learning FTW!"
    }
    ```
    
    ## 경로를 포함하는 경로 매개변수
    
    경로를 포함하는 *경로 작동* `/files/{file_path}`이 있다고 해봅시다.
    
    그런데 이 경우 `file_path` 자체가 `home/johndoe/myfile.txt`와 같은 경로를 포함해야 합니다.
    
    이때 해당 파일의 URL은 다음처럼 됩니다: `/files/home/johndoe/myfile.txt`.
    
    ### OpenAPI 지원
    
    테스트와 정의가 어려운 시나리오로 이어질 수 있으므로 OpenAPI는 *경로*를 포함하는 *경로 매개변수*를 내부에 선언하는 방법을 지원하지 않습니다.
    
    그럼에도 Starlette의 내부 도구중 하나를 사용하여 **FastAPI**에서는 이가 가능합니다.
    
    Registered: Mon Jun 17 08:32:26 UTC 2024
    - Last Modified: Fri Mar 22 01:42:11 UTC 2024
    - 9.8K bytes
    - Viewed (0)
Back to top