Search Options

Results per page
Sort
Preferred Languages
Advance

Results 21 - 30 of 66 for apps (0.14 sec)

  1. docs/en/docs/deployment/concepts.md

    By considering these concepts, you will be able to **evaluate and design** the best way to deploy **your own APIs**.
    
    In the next chapters, I'll give you more **concrete recipes** to deploy FastAPI applications.
    
    But for now, let's check these important **conceptual ideas**. These concepts also apply to any other type of web API. 💡
    
    Plain Text
    - Registered: Sun May 05 07:19:11 GMT 2024
    - Last Modified: Thu May 02 22:37:31 GMT 2024
    - 18K bytes
    - Viewed (0)
  2. docs/en/docs/index.md

    ## Example
    
    ### Create it
    
    * Create a file `main.py` with:
    
    ```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}
    ```
    
    <details markdown="1">
    Plain Text
    - Registered: Sun May 05 07:19:11 GMT 2024
    - Last Modified: Thu May 02 22:37:31 GMT 2024
    - 19.8K bytes
    - Viewed (0)
  3. docs/de/docs/index.md

    ```
    
    </div>
    
    <details markdown="1">
    <summary>Was macht der Befehl <code>uvicorn main:app --reload</code> ...</summary>
    
    Der Befehl `uvicorn main:app` bezieht sich auf:
    
    * `main`: die Datei `main.py` (das Python-„Modul“).
    * `app`: das Objekt, das innerhalb von `main.py` mit der Zeile `app = FastAPI()` erzeugt wurde.
    Plain Text
    - Registered: Sun May 05 07:19:11 GMT 2024
    - Last Modified: Mon Apr 29 05:18:04 GMT 2024
    - 21.1K bytes
    - Viewed (0)
  4. docs/fr/docs/index.md

    ```
    
    </div>
    
    <details markdown="1">
    <summary>À propos de la commande <code>uvicorn main:app --reload</code> ...</summary>
    
    La commande `uvicorn main:app` fait référence à :
    
    * `main` : le fichier `main.py` (le "module" Python).
    * `app` : l'objet créé à l'intérieur de `main.py` avec la ligne `app = FastAPI()`.
    * `--reload` : fait redémarrer le serveur après des changements de code. À n'utiliser que pour le développement.
    Plain Text
    - Registered: Sun May 05 07:19:11 GMT 2024
    - Last Modified: Mon Apr 29 05:18:04 GMT 2024
    - 22K bytes
    - Viewed (0)
  5. RELEASE.md

            steps to [XLA](https://www.tensorflow.org/xla). Note that
            `jit_compile=True` may not necessarily work for all models.
        *   Added DTensor-related Keras APIs under `tf.keras.dtensor` namespace. The
            APIs are still classified as experimental. You are welcome to try it
            out. Please check the tutorial and guide on https://www.tensorflow.org/
            for more details about DTensor.
    
    Plain Text
    - Registered: Tue May 07 12:40:20 GMT 2024
    - Last Modified: Mon Apr 29 19:17:57 GMT 2024
    - 727.7K bytes
    - Viewed (8)
  6. docs/uk/docs/index.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}
    ```
    
    <details markdown="1">
    Plain Text
    - Registered: Sun May 05 07:19:11 GMT 2024
    - Last Modified: Mon Apr 29 05:18:04 GMT 2024
    - 24.2K bytes
    - Viewed (0)
  7. cni/pkg/nodeagent/net_test.go

    		iptablesConfigurator: iptablesConfigurator,
    		nlDeps:               nlDeps,
    		ipsetDeps:            fakeIPSetDeps,
    	}
    }
    
    func buildConvincingPod(v6IP bool) *corev1.Pod {
    	app1 := corev1.Container{
    		Name: "app1",
    		Ports: []corev1.ContainerPort{
    			{
    				Name:          "foo-port",
    				ContainerPort: 8010,
    			},
    			{
    				Name:          "foo-2-port",
    				ContainerPort: 8020,
    			},
    		},
    Go
    - Registered: Wed May 08 22:53:08 GMT 2024
    - Last Modified: Tue Apr 30 22:24:38 GMT 2024
    - 16.4K bytes
    - Viewed (0)
  8. cni/pkg/util/podutil.go

    // limitations under the License.
    
    package util
    
    import (
    	"context"
    	"fmt"
    	"net/netip"
    
    	corev1 "k8s.io/api/core/v1"
    	"k8s.io/apimachinery/pkg/api/errors"
    	metav1 "k8s.io/apimachinery/pkg/apis/meta/v1"
    	"k8s.io/apimachinery/pkg/types"
    	"k8s.io/client-go/kubernetes"
    
    	"istio.io/api/annotation"
    	"istio.io/istio/pkg/config/constants"
    )
    
    var annotationPatch = []byte(fmt.Sprintf(
    Go
    - Registered: Wed May 08 22:53:08 GMT 2024
    - Last Modified: Fri May 03 19:29:42 GMT 2024
    - 3.9K bytes
    - Viewed (0)
  9. docs/zh-hant/docs/index.md

    </div>
    
    ## 範例
    
    ### 建立
    
    - 建立一個 python 檔案 `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}
    ```
    
    <details markdown="1">
    Plain Text
    - Registered: Sun May 05 07:19:11 GMT 2024
    - Last Modified: Mon Apr 29 05:18:04 GMT 2024
    - 18.8K bytes
    - Viewed (0)
  10. docs/yo/docs/index.md

    ```
    
    </div>
    
    <details markdown="1">
    <summary>Nipa aṣẹ kóòdù náà <code>uvicorn main:app --reload</code>...</summary>
    
    Àṣẹ `uvicorn main:app` ń tọ́ka sí:
    
    * `main`: fáìlì náà 'main.py' (Python "module").
    * `app` jẹ object( i.e. nǹkan) tí a ṣẹ̀dá nínú `main.py` pẹ̀lú ilà `app = FastAPI()`.
    Plain Text
    - Registered: Sun May 05 07:19:11 GMT 2024
    - Last Modified: Mon Apr 29 05:18:04 GMT 2024
    - 24.1K bytes
    - Viewed (0)
Back to top