Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1051 - 1060 of 1,080 for Str (0.02 sec)

  1. src/cmd/cgo/gcc.go

    	for _, call := range f.Calls {
    		if call.Done {
    			continue
    		}
    		start := f.offset(call.Call.Pos())
    		end := f.offset(call.Call.End())
    		str, nu := p.rewriteCall(f, call)
    		if str != "" {
    			f.Edit.Replace(start, end, str)
    			if nu {
    				needsUnsafe = true
    			}
    		}
    	}
    	return needsUnsafe
    }
    
    // rewriteCall rewrites one call to add pointer checks.
    Registered: Tue Nov 05 11:13:11 UTC 2024
    - Last Modified: Wed Sep 18 15:07:34 UTC 2024
    - 97.1K bytes
    - Viewed (0)
  2. docs/de/docs/tutorial/bigger-applications.md

    {!../../docs_src/bigger_applications/app/routers/items.py!}
    ```
    
    Da der Pfad jeder *Pfadoperation* mit `/` beginnen muss, wie in:
    
    ```Python hl_lines="1"
    @router.get("/{item_id}")
    async def read_item(item_id: str):
        ...
    ```
    
    ... darf das Präfix kein abschließendes `/` enthalten.
    
    Das Präfix lautet in diesem Fall also `/items`.
    
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Sun Oct 06 20:36:54 UTC 2024
    - 21K bytes
    - Viewed (0)
  3. docs/ko/docs/tutorial/dependencies/index.md

    여러분은 이를 "데코레이터"가 없는 (`@app.get("/some-path")`가 없는) *경로 작동 함수*라고 생각할 수 있습니다.
    
    그리고 여러분이 원하는 무엇이든 반환할 수 있습니다.
    
    이 경우, 이 의존성은 다음과 같은 경우를 기대합니다:
    
    * 선택적인 쿼리 매개변수 `q`, `str`을 자료형으로 가집니다.
    * 선택적인 쿼리 매개변수 `skip`, `int`를 자료형으로 가지며 기본 값은 `0`입니다.
    * 선택적인 쿼리 매개변수 `limit`,`int`를 자료형으로 가지며 기본 값은 `100`입니다.
    
    그 후 위의 값을 포함한 `dict` 자료형으로 반환할 뿐입니다.
    
    /// info | "정보"
    
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Sun Oct 06 20:36:54 UTC 2024
    - 13.5K bytes
    - Viewed (0)
  4. docs/ja/docs/tutorial/handling-errors.md

    しかし、クライアントが`http://example.com/items/bar`(存在しない`item_id` `"bar"`)をリクエストした場合、HTTPステータスコード404("not found"エラー)と以下のJSONレスポンスが返されます:
    
    ```JSON
    {
      "detail": "Item not found"
    }
    ```
    
    /// tip | "豆知識"
    
    `HTTPException`を発生させる際には、`str`だけでなく、JSONに変換できる任意の値を`detail`パラメータとして渡すことができます。
    
    `dist`や`list`などを渡すことができます。
    
    これらは **FastAPI** によって自動的に処理され、JSONに変換されます。
    
    ///
    
    ## カスタムヘッダーの追加
    
    例えば、いくつかのタイプのセキュリティのために、HTTPエラーにカスタムヘッダを追加できると便利な状況がいくつかあります。
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Sun Oct 06 20:36:54 UTC 2024
    - 11.8K bytes
    - Viewed (0)
  5. docs/en/docs/tutorial/sql-databases.md

    * `Field(index=True)` tells SQLModel that it should create a **SQL index** for this column, that would allow faster lookups in the database when reading data filtered by this column.
    
        SQLModel will know that something declared as `str` will be a SQL column of type `TEXT` (or `VARCHAR`, depending on the database).
    
    ### Create an Engine
    
    A SQLModel `engine` (underneath it's actually a SQLAlchemy `engine`) is what **holds the connections** to the database.
    
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Wed Oct 09 19:44:42 UTC 2024
    - 14.7K bytes
    - Viewed (0)
  6. src/main/webapp/js/admin/adminlte.min.js.map

    if (this.options.highlightName) {\n        name = name.replace(\n          regExp,\n          str => {\n            return `<strong class=\"${this.options.highlightClass}\">${str}</strong>`\n          }\n        )\n      }\n\n      if (this.options.highlightPath) {\n        path = path.replace(\n          regExp,\n          str => {\n            return `<strong class=\"${this.options.highlightClass}\">${str}</strong>`\n          }\n        )\n      }\n    }\n\n    const groupItemElement = $('<a/>',...
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Sat Oct 26 01:49:09 UTC 2024
    - 132.4K bytes
    - Viewed (0)
  7. docs/pt/docs/tutorial/bigger-applications.md

    {!../../docs_src/bigger_applications/app/routers/items.py!}
    ```
    
    Como o caminho de cada *operação de rota* deve começar com `/`, como em:
    
    ```Python hl_lines="1"
    @router.get("/{item_id}")
    async def read_item(item_id: str):
        ...
    ```
    
    ...o prefixo não deve incluir um `/` final.
    
    Então, o prefixo neste caso é `/items`.
    
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Sun Oct 06 20:36:54 UTC 2024
    - 19.6K bytes
    - Viewed (0)
  8. docs/em/docs/deployment/docker.md

    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` ⏮️:
    
    ```{ .dockerfile .annotate }
    # (1)
    FROM python:3.9
    
    # (2)
    WORKDIR /code
    
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Mon Aug 12 21:47:53 UTC 2024
    - 27.9K bytes
    - Viewed (0)
  9. docs/em/docs/tutorial/sql-databases.md

    #### 🇸🇲 👗 &amp; Pydantic 👗
    
    👀 👈 🇸🇲 *🏷* 🔬 🔢 ⚙️ `=`, &amp; 🚶‍♀️ 🆎 🔢 `Column`, 💖:
    
    ```Python
    name = Column(String)
    ```
    
    ⏪ Pydantic *🏷* 📣 🆎 ⚙️ `:`, 🆕 🆎 ✍ ❕/🆎 🔑:
    
    ```Python
    name: str
    ```
    
    ✔️ ⚫️ 🤯, 👆 🚫 🤚 😕 🕐❔ ⚙️ `=` &amp; `:` ⏮️ 👫.
    
    ### ✍ Pydantic *🏷* / 🔗 👂 / 📨
    
    🔜 ✍ Pydantic *🏷* (🔗) 👈 🔜 ⚙️ 🕐❔ 👂 💽, 🕐❔ 🛬 ⚫️ ⚪️➡️ 🛠️.
    
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Sun Oct 06 20:36:54 UTC 2024
    - 25K bytes
    - Viewed (0)
  10. docs/zh/docs/tutorial/bigger-applications.md

    {!../../docs_src/bigger_applications/app/routers/items.py!}
    ```
    
    由于每个*路径操作*的路径都必须以 `/` 开头,例如:
    
    ```Python hl_lines="1"
    @router.get("/{item_id}")
    async def read_item(item_id: str):
        ...
    ```
    
    ...前缀不能以 `/` 作为结尾。
    
    因此,本例中的前缀为 `/items`。
    
    我们还可以添加一个 `tags` 列表和额外的 `responses` 列表,这些参数将应用于此路由器中包含的所有*路径操作*。
    
    我们可以添加一个 `dependencies` 列表,这些依赖项将被添加到路由器中的所有*路径操作*中,并将针对向它们发起的每个请求执行/解决。
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Sun Oct 06 20:36:54 UTC 2024
    - 18.4K bytes
    - Viewed (0)
Back to top