Search Options

Results per page
Sort
Preferred Languages
Advance

Results 111 - 120 of 462 for apps (0.17 sec)

  1. manifests/charts/gateways/istio-ingress/templates/service.yaml

        {{- range $key, $val := $gateway.ports }}
        -
          {{- range $pkey, $pval := $val }}
          {{ $pkey}}: {{ $pval }}
          {{- end }}
        {{- end }}
    
      {{ range $app := $gateway.ingressPorts }}
        -
          port: {{ $app.port }}
          name: {{ $app.name }}
      {{- end }}
    {{- if $gateway.ipFamilyPolicy }}
      ipFamilyPolicy: {{ $gateway.ipFamilyPolicy }}
    {{- end }}
    {{- if $gateway.ipFamilies }}
      ipFamilies:
    Others
    - Registered: Wed May 08 22:53:08 GMT 2024
    - Last Modified: Thu Apr 18 18:16:49 GMT 2024
    - 1.5K bytes
    - Viewed (0)
  2. manifests/charts/istio-control/istio-discovery/templates/service.yaml

          protocol: TCP
        - port: 15014
          name: http-monitoring # prometheus stats
          protocol: TCP
      selector:
        app: istiod
        {{- if ne .Values.revision "" }}
        istio.io/rev: {{ .Values.revision | quote }}
        {{- else }}
        # Label used by the 'default' service. For versioned deployments we match with app and version.
        # This avoids default deployment picking the canary
        istio: pilot
        {{- end }}
    Others
    - Registered: Wed May 08 22:53:08 GMT 2024
    - Last Modified: Thu Apr 18 18:16:49 GMT 2024
    - 1.5K bytes
    - Viewed (0)
  3. docs/zh/docs/tutorial/sql-databases.md

    ## 审查所有文件
    
    最后回顾整个案例,您应该有一个名为的目录`my_super_project`,其中包含一个名为`sql_app`。
    
    `sql_app`中应该有以下文件:
    
    * `sql_app/__init__.py`:这是一个空文件。
    
    * `sql_app/database.py`:
    
    ```Python
    {!../../../docs_src/sql_databases/sql_app/database.py!}
    ```
    
    * `sql_app/models.py`:
    
    ```Python
    {!../../../docs_src/sql_databases/sql_app/models.py!}
    ```
    
    * `sql_app/schemas.py`:
    
    === "Python 3.10+"
    
        ```Python
    Plain Text
    - Registered: Sun May 05 07:19:11 GMT 2024
    - Last Modified: Fri Mar 22 01:42:11 GMT 2024
    - 27K bytes
    - Viewed (0)
  4. docs/ru/docs/deployment/docker.md

    COPY ./requirements.txt /code/requirements.txt
    
    RUN pip install --no-cache-dir --upgrade -r /code/requirements.txt
    
    COPY ./app /code/app
    
    CMD ["uvicorn", "app.main:app", "--host", "0.0.0.0", "--port", "80"]
    
    # Если используете прокси-сервер, такой как Nginx или Traefik, добавьте --proxy-headers
    # CMD ["uvicorn", "app.main:app", "--host", "0.0.0.0", "--port", "80", "--proxy-headers"]
    ```
    
    </details>
    
    ## Что такое "контейнер"
    
    Plain Text
    - Registered: Sun May 05 07:19:11 GMT 2024
    - Last Modified: Thu Apr 18 19:53:19 GMT 2024
    - 57.5K bytes
    - Viewed (0)
  5. docs/ru/docs/tutorial/debugging.md

    Тогда выполнится условие и эта часть кода:
    
    ```Python
        uvicorn.run(app, host="0.0.0.0", port=8000)
    ```
    
    будет запущена.
    
    ---
    
    Но этого не произойдет, если вы импортируете этот модуль (файл).
    
    Таким образом, если у вас есть файл `importer.py` с таким импортом:
    
    ```Python
    from myapp import app
    
    # Some more code
    ```
    
    Plain Text
    - Registered: Sun May 05 07:19:11 GMT 2024
    - Last Modified: Thu Apr 18 19:53:19 GMT 2024
    - 3.8K bytes
    - Viewed (0)
  6. docs/ru/docs/tutorial/first-steps.md

        Это и есть "**декоратор операции пути**".
    
    Можно также использовать операции:
    
    * `@app.post()`
    * `@app.put()`
    * `@app.delete()`
    
    И более экзотические:
    
    * `@app.options()`
    * `@app.head()`
    * `@app.patch()`
    * `@app.trace()`
    
    !!! tip "Подсказка"
        Вы можете использовать каждую операцию (HTTP-метод) по своему усмотрению.
    
    Plain Text
    - Registered: Sun May 05 07:19:11 GMT 2024
    - Last Modified: Thu Apr 18 19:53:19 GMT 2024
    - 13.1K bytes
    - Viewed (0)
  7. docs/en/docs/async.md

    This "waiting" 🕙 is measured in microseconds, but still, summing it all, it's a lot of waiting in the end.
    
    That's why it makes a lot of sense to use asynchronous ⏸🔀⏯ code for web APIs.
    
    This kind of asynchronicity is what made NodeJS popular (even though NodeJS is not parallel) and that's the strength of Go as a programming language.
    
    And that's the same level of performance you get with **FastAPI**.
    
    Plain Text
    - Registered: Sun May 05 07:19:11 GMT 2024
    - Last Modified: Thu Apr 18 19:53:19 GMT 2024
    - 23K bytes
    - Viewed (0)
  8. docs_src/security/tutorial005_an.py

            expires_delta=access_token_expires,
        )
        return Token(access_token=access_token, token_type="bearer")
    
    
    @app.get("/users/me/", response_model=User)
    async def read_users_me(
        current_user: Annotated[User, Depends(get_current_active_user)],
    ):
        return current_user
    
    
    @app.get("/users/me/items/")
    async def read_own_items(
    Python
    - Registered: Sun May 05 07:19:11 GMT 2024
    - Last Modified: Tue Mar 26 16:56:53 GMT 2024
    - 5.3K bytes
    - Viewed (0)
  9. docs/en/docs/tutorial/handling-errors.md

    ```Python hl_lines="1"
    {!../../../docs_src/handling_errors/tutorial001.py!}
    ```
    
    ### Raise an `HTTPException` in your code
    
    `HTTPException` is a normal Python exception with additional data relevant for APIs.
    
    Because it's a Python exception, you don't `return` it, you `raise` it.
    
    Plain Text
    - Registered: Sun May 05 07:19:11 GMT 2024
    - Last Modified: Fri Mar 22 01:42:11 GMT 2024
    - 9.1K bytes
    - Viewed (0)
  10. docs/pt/docs/python-types.md

    ```
    John Doe
    ```
    
    A função faz o seguinte:
    
    * Pega um `first_name` e `last_name`.
    * Converte a primeira letra de cada uma em maiúsculas com `title ()`.
    * <abbr title = "Agrupa-os, como um. Com o conteúdo de um após o outro."> Concatena </abbr> com um espaço no meio.
    
    ```Python hl_lines="2"
    {!../../../docs_src/python_types/tutorial001.py!}
    ```
    
    ### Edite-o
    
    É um programa muito simples.
    
    Plain Text
    - Registered: Sun May 05 07:19:11 GMT 2024
    - Last Modified: Fri Mar 22 01:42:11 GMT 2024
    - 9.6K bytes
    - Viewed (0)
Back to top