Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 8 of 8 for FoOBAr (0.21 sec)

  1. tests/test_path.py

        assert response.json() == {"detail": "Not Found"}
    
    
    def test_path_foobar():
        response = client.get("/path/foobar")
        assert response.status_code == 200
        assert response.json() == "foobar"
    
    
    def test_path_str_foobar():
        response = client.get("/path/str/foobar")
        assert response.status_code == 200
        assert response.json() == "foobar"
    
    
    def test_path_str_42():
        response = client.get("/path/str/42")
    Python
    - Registered: Sun May 05 07:19:11 GMT 2024
    - Last Modified: Thu Apr 18 19:40:57 GMT 2024
    - 34.4K bytes
    - Viewed (0)
  2. docs/pt/docs/tutorial/security/first-steps.md

    		* Mas precisa de autenticação para aquele endpoint em específico.
    		* Então, para autenticar com nossa API, ele manda um header de `Autorização` com o valor `Bearer` mais o token.
    		* Se o token contém `foobar`, o conteúdo do header de `Autorização` será: `Bearer foobar`.
    
    ## **FastAPI**'s `OAuth2PasswordBearer`
    
    **FastAPI** fornece várias ferramentas, em diferentes níveis de abstração, para implementar esses recursos de segurança.
    
    Plain Text
    - Registered: Sun May 05 07:19:11 GMT 2024
    - Last Modified: Thu Apr 18 19:53:19 GMT 2024
    - 8.3K bytes
    - Viewed (0)
  3. tensorflow/c/c_test.c

    // just nice to know that it compiles.
    void* create(TF_OpKernelConstruction* ctx) {
      TF_DataType type;
      TF_Status* s = TF_NewStatus();
      TF_OpKernelConstruction_GetAttrType(ctx, "foobar", &type, s);
      TF_DeleteStatus(s);
      return NULL;
    }
    
    // A compute function. This will never actually get called in this test, it's
    // just nice to know that it compiles.
    C
    - Registered: Tue Apr 30 12:39:09 GMT 2024
    - Last Modified: Wed Apr 24 20:50:35 GMT 2024
    - 2.8K bytes
    - Viewed (0)
  4. docs/ja/docs/tutorial/security/first-steps.md

    * フロントエンドはAPIからさらにデータを取得する必要があります。
        * しかし、特定のエンドポイントの認証が必要です。
        * したがって、APIで認証するため、HTTPヘッダー`Authorization`に`Bearer`の文字列とトークンを加えた値を送信します。
        * トークンに`foobar`が含まれている場合、`Authorization`ヘッダーの内容は次のようになります: `Bearer foobar`。
    
    ## **FastAPI**の`OAuth2PasswordBearer`
    
    **FastAPI**は、これらのセキュリティ機能を実装するために、抽象度の異なる複数のツールを提供しています。
    
    Plain Text
    - Registered: Sun May 05 07:19:11 GMT 2024
    - Last Modified: Thu Apr 18 19:53:19 GMT 2024
    - 10.5K bytes
    - Viewed (0)
  5. istioctl/pkg/workload/workload.go

    	groupCmd := &cobra.Command{
    		Use:     "group",
    		Short:   "Commands dealing with WorkloadGroup resources",
    		Example: "  istioctl x workload group create --name foo --namespace bar --labels app=foobar",
    	}
    	groupCmd.AddCommand(createCommand(ctx))
    	return groupCmd
    }
    
    func entryCommand(ctx cli.Context) *cobra.Command {
    	entryCmd := &cobra.Command{
    		Use:     "entry",
    Go
    - Registered: Wed May 08 22:53:08 GMT 2024
    - Last Modified: Wed Apr 17 20:06:41 GMT 2024
    - 25.5K bytes
    - Viewed (0)
  6. cmd/common-main.go

    	//  certs/
    	//   │
    	//   ├─ public.crt
    	//   ├─ private.key
    	//   │
    	//   ├─ example.com/
    	//   │   │
    	//   │   ├─ public.crt
    	//   │   └─ private.key
    	//   └─ foobar.org/
    	//      │
    	//      ├─ public.crt
    	//      └─ private.key
    	//   ...
    	//
    	// Therefore, we read all filenames in the cert directory and check
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Sat May 04 00:17:57 GMT 2024
    - 35.8K bytes
    - Viewed (2)
  7. operator/cmd/mesh/manifest-generate_test.go

    		g.Expect(c).Should(HavePathValueEqual(PathValue{"resources.requests.cpu", "333m"}))
    		g.Expect(c).Should(HavePathValueEqual(PathValue{"env.[name:PILOT_CERT_PROVIDER].value", "foobar"}))
    		g.Expect(s).Should(HavePathValueContain(PathValue{"metadata.annotations", toMap("cloud.google.com/load-balancer-type: internal")}))
    Go
    - Registered: Wed May 08 22:53:08 GMT 2024
    - Last Modified: Thu Apr 18 18:16:49 GMT 2024
    - 43.5K bytes
    - Viewed (0)
  8. doc/go_spec.html

    float32(0.49999999)      // 0.5 of type float32
    float64(-1e-1000)        // 0.0 of type float64
    string('x')              // "x" of type string
    string(0x266c)           // "♬" of type string
    myString("foo" + "bar")  // "foobar" of type myString
    string([]byte{'a'})      // not a constant: []byte{'a'} is not a constant
    (*int)(nil)              // not a constant: nil is not a constant, *int is not a boolean, numeric, or string type
    HTML
    - Registered: Tue May 07 11:14:38 GMT 2024
    - Last Modified: Thu May 02 22:43:51 GMT 2024
    - 279.6K bytes
    - Viewed (0)
Back to top