Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1241 - 1250 of 1,686 for jason (0.2 sec)

  1. docs/ko/docs/tutorial/request-files.md

    /// info | 정보
    
    `File` 은 `Form` 으로부터 직접 상속된 클래스입니다.
    
    하지만 `fastapi`로부터 `Query`, `Path`, `File` 등을 임포트 할 때, 이것들은 특별한 클래스들을 반환하는 함수라는 것을 기억하기 바랍니다.
    
    ///
    
    /// tip | 팁
    
    File의 본문을 선언할 때, 매개변수가 쿼리 매개변수 또는 본문(JSON) 매개변수로 해석되는  것을 방지하기 위해 `File` 을 사용해야합니다.
    
    ///
    
    파일들은 "폼 데이터"의 형태로 업로드 됩니다.
    
    *경로 작동 함수*의 매개변수를 `bytes` 로 선언하는 경우 **FastAPI**는 파일을 읽고 `bytes` 형태의 내용을 전달합니다.
    
    Registered: Sun Dec 28 07:19:09 UTC 2025
    - Last Modified: Mon Nov 18 02:25:44 UTC 2024
    - 8K bytes
    - Viewed (0)
  2. docs/fr/docs/project-generation.md

        * <a href="https://fastapi.tiangolo.com/features/" class="external-link" target="_blank">**Et bien d'autres fonctionnalités**</a> comme la validation automatique, la sérialisation, l'authentification...
    Registered: Sun Dec 28 07:19:09 UTC 2025
    - Last Modified: Mon Jul 29 23:35:07 UTC 2024
    - 6.7K bytes
    - Viewed (0)
  3. tests/test_tutorial/test_dependencies/test_tutorial008.py

                return_value=c_mock,
                create=True,
            ),
        ):
            response = client.get("/")
    
        assert response.status_code == 200
    Registered: Sun Dec 28 07:19:09 UTC 2025
    - Last Modified: Fri Dec 26 10:43:02 UTC 2025
    - 1.4K bytes
    - Viewed (0)
  4. tests/test_tutorial/test_custom_docs_ui/test_tutorial002.py

        assert "/static/redoc.standalone.js" in response.text
    
    
    def test_api(client: TestClient):
        response = client.get("/users/john")
        assert response.status_code == 200, response.text
    Registered: Sun Dec 28 07:19:09 UTC 2025
    - Last Modified: Wed Dec 17 20:41:43 UTC 2025
    - 1.2K bytes
    - Viewed (0)
  5. docs_src/additional_responses/tutorial002_py310.py

    
    app = FastAPI()
    
    
    @app.get(
        "/items/{item_id}",
        response_model=Item,
        responses={
            200: {
                "content": {"image/png": {}},
                "description": "Return the JSON item or an image.",
            }
        },
    )
    async def read_item(item_id: str, img: bool | None = None):
        if img:
            return FileResponse("image.png", media_type="image/png")
        else:
    Registered: Sun Dec 28 07:19:09 UTC 2025
    - Last Modified: Wed Dec 10 08:55:32 UTC 2025
    - 596 bytes
    - Viewed (0)
  6. internal/auth/credentials_test.go

    //
    // You should have received a copy of the GNU Affero General Public License
    // along with this program.  If not, see <http://www.gnu.org/licenses/>.
    
    package auth
    
    import (
    	"encoding/json"
    	"testing"
    	"time"
    )
    
    func TestExpToInt64(t *testing.T) {
    	testCases := []struct {
    		exp             any
    		expectedFailure bool
    	}{
    		{"", true},
    		{"-1", true},
    		{"1574812326", false},
    Registered: Sun Dec 28 19:28:13 UTC 2025
    - Last Modified: Fri Aug 29 02:39:48 UTC 2025
    - 5.4K bytes
    - Viewed (0)
  7. src/main/java/org/codelibs/fess/app/web/api/admin/dict/ApiAdminDictAction.java

        /** Dictionary manager for handling dictionary file operations */
        @Resource
        protected DictionaryManager dictionaryManager;
    
        /**
         * Retrieves all available dictionary files.
         *
         * @return JSON response containing list of dictionary files
         */
        // GET /api/admin/dict
        @Execute
        public JsonResponse<ApiResult> get$index() {
    Registered: Sat Dec 20 09:19:18 UTC 2025
    - Last Modified: Thu Aug 07 03:06:29 UTC 2025
    - 2.6K bytes
    - Viewed (0)
  8. docs/en/docs/project-generation.md

      - 🧪 [Playwright](https://playwright.dev) for End-to-End testing.
      - 🦇 Dark mode support.
    - 🐋 [Docker Compose](https://www.docker.com) for development and production.
    - 🔒 Secure password hashing by default.
    - 🔑 JWT (JSON Web Token) authentication.
    - 📫 Email based password recovery.
    - ✅ Tests with [Pytest](https://pytest.org).
    - 📞 [Traefik](https://traefik.io) as a reverse proxy / load balancer.
    Registered: Sun Dec 28 07:19:09 UTC 2025
    - Last Modified: Mon Dec 08 13:04:54 UTC 2025
    - 2K bytes
    - Viewed (0)
  9. docs/ru/docs/tutorial/request-form-models.md

    Например, если клиент попытается отправить поля формы:
    
    * `username`: `Rick`
    * `password`: `Portal Gun`
    * `extra`: `Mr. Poopybutthole`
    
    То в ответ он получит **ошибку**, сообщающую ему, что поле `extra` не разрешено:
    
    ```json
    {
        "detail": [
            {
                "type": "extra_forbidden",
                "loc": ["body", "extra"],
                "msg": "Extra inputs are not permitted",
                "input": "Mr. Poopybutthole"
            }
    Registered: Sun Dec 28 07:19:09 UTC 2025
    - Last Modified: Tue Sep 30 11:24:39 UTC 2025
    - 3.4K bytes
    - Viewed (0)
  10. docs/es/docs/advanced/additional-status-codes.md

    Cuando devuelves un `Response` directamente, como en el ejemplo anterior, se devuelve directamente.
    
    No se serializará con un modelo, etc.
    
    Asegúrate de que tenga los datos que deseas que tenga y que los valores sean JSON válidos (si estás usando `JSONResponse`).
    
    ///
    
    /// note | Detalles Técnicos
    
    También podrías usar `from starlette.responses import JSONResponse`.
    
    Registered: Sun Dec 28 07:19:09 UTC 2025
    - Last Modified: Tue Dec 16 16:33:45 UTC 2025
    - 2.1K bytes
    - Viewed (0)
Back to top