Search Options

Results per page
Sort
Preferred Languages
Advance

Results 51 - 60 of 541 for optionele (0.09 sec)

  1. internal/config/policy/plugin/help.go

    			Optional:    true,
    			Type:        "string",
    			Sensitive:   true,
    			Secret:      true,
    		},
    		config.HelpKV{
    			Key:         EnableHTTP2,
    			Description: "Enable experimental HTTP2 support to connect to plugin service" + defaultHelpPostfix(EnableHTTP2),
    			Optional:    true,
    			Type:        "bool",
    		},
    		config.HelpKV{
    Registered: Sun Oct 27 19:28:09 UTC 2024
    - Last Modified: Fri Jun 23 14:45:27 UTC 2023
    - 1.8K bytes
    - Viewed (0)
  2. internal/config/batch/help.go

    			Optional:    true,
    			Type:        "duration",
    		},
    		config.HelpKV{
    			Key:         KeyRotationWorkersWait,
    			Description: `maximum sleep duration between objects to slow down batch keyrotation operation` + defaultHelpPostfix(KeyRotationWorkersWait),
    			Optional:    true,
    			Type:        "duration",
    		},
    		config.HelpKV{
    Registered: Sun Oct 27 19:28:09 UTC 2024
    - Last Modified: Sat Dec 02 10:51:33 UTC 2023
    - 1.8K bytes
    - Viewed (0)
  3. docs/em/docs/python-types.md

    🐍 3️⃣.6️⃣ & πŸ”› (βœ… 🐍 3️⃣.1️⃣0️⃣) πŸ‘† πŸ’ͺ πŸ“£ ⚫️ 🏭 & βš™οΈ `Optional` βšͺ️➑️ `typing` πŸ•Ή.
    
    ```Python hl_lines="1  4"
    {!../../docs_src/python_types/tutorial009.py!}
    ```
    
    βš™οΈ `Optional[str]` ↩️ `str` πŸ”œ ➑️ πŸ‘¨β€πŸŽ¨ β„Ή πŸ‘† πŸ” ❌ πŸŒβ” πŸ‘† πŸ’ͺ πŸ€” πŸ‘ˆ πŸ’² πŸ•§ `str`, πŸ•β” ⚫️ πŸ’ͺ πŸ€™ `None` πŸ’β€β™‚οΈ.
    
    `Optional[Something]` πŸ€™ ⌨ `Union[Something, None]`, πŸ‘« πŸŒ“.
    
    πŸ‘‰ β›“ πŸ‘ˆ 🐍 3️⃣.1️⃣0️⃣, πŸ‘† πŸ’ͺ βš™οΈ `Something | None`:
    Registered: Sun Oct 27 07:19:11 UTC 2024
    - Last Modified: Sun Oct 06 20:36:54 UTC 2024
    - 13.4K bytes
    - Viewed (0)
  4. internal/config/compress/help.go

    			Optional:    true,
    			Type:        "csv",
    		},
    		config.HelpKV{
    			Key:         AllowEncrypted,
    			Description: `enable 'encryption' along with compression`,
    			Optional:    true,
    			Type:        "on|off",
    		},
    		config.HelpKV{
    			Key:         config.Comment,
    			Description: config.DefaultComment,
    			Optional:    true,
    			Type:        "sentence",
    		},
    	}
    Registered: Sun Oct 27 19:28:09 UTC 2024
    - Last Modified: Sun Jul 17 15:43:14 UTC 2022
    - 1.8K bytes
    - Viewed (0)
  5. tests/test_custom_middleware_exception.py

    from typing import Optional
    
    from fastapi import APIRouter, FastAPI, File, UploadFile
    from fastapi.exceptions import HTTPException
    from fastapi.testclient import TestClient
    
    app = FastAPI()
    
    router = APIRouter()
    
    
    class ContentSizeLimitMiddleware:
        """Content size limiting middleware for ASGI applications
        Args:
          app (ASGI application): ASGI application
    Registered: Sun Oct 27 07:19:11 UTC 2024
    - Last Modified: Thu Aug 25 21:44:40 UTC 2022
    - 2.8K bytes
    - Viewed (0)
  6. tests/test_param_class.py

    from typing import Optional
    
    from fastapi import FastAPI
    from fastapi.params import Param
    from fastapi.testclient import TestClient
    
    app = FastAPI()
    
    
    @app.get("/items/")
    def read_items(q: Optional[str] = Param(default=None)):  # type: ignore
        return {"q": q}
    
    
    client = TestClient(app)
    
    
    def test_default_param_query_none():
        response = client.get("/items/")
        assert response.status_code == 200, response.text
    Registered: Sun Oct 27 07:19:11 UTC 2024
    - Last Modified: Fri May 13 23:38:22 UTC 2022
    - 636 bytes
    - Viewed (0)
  7. tests/test_serialize_response.py

    from typing import List, Optional
    
    from fastapi import FastAPI
    from fastapi.testclient import TestClient
    from pydantic import BaseModel
    
    app = FastAPI()
    
    
    class Item(BaseModel):
        name: str
        price: Optional[float] = None
        owner_ids: Optional[List[int]] = None
    
    
    @app.get("/items/valid", response_model=Item)
    def get_valid():
        return {"name": "valid", "price": 1.0}
    
    
    @app.get("/items/coerce", response_model=Item)
    Registered: Sun Oct 27 07:19:11 UTC 2024
    - Last Modified: Mon Aug 03 12:29:07 UTC 2020
    - 1.4K bytes
    - Viewed (0)
  8. tensorflow/c/eager/parallel_device/parallel_device_lib.h

    #ifndef TENSORFLOW_C_EAGER_PARALLEL_DEVICE_PARALLEL_DEVICE_LIB_H_
    #define TENSORFLOW_C_EAGER_PARALLEL_DEVICE_PARALLEL_DEVICE_LIB_H_
    
    #include <memory>
    #include <optional>
    #include <string>
    #include <utility>
    #include <vector>
    
    #include "absl/status/status.h"
    #include "absl/types/optional.h"
    #include "absl/types/span.h"
    #include "absl/types/variant.h"
    #include "tensorflow/c/c_api.h"
    #include "tensorflow/c/eager/c_api.h"
    Registered: Tue Oct 29 12:39:09 UTC 2024
    - Last Modified: Mon Oct 21 04:14:14 UTC 2024
    - 13.1K bytes
    - Viewed (0)
  9. tests/test_security_api_key_query_optional.py

    from typing import Optional
    
    from fastapi import Depends, FastAPI, Security
    from fastapi.security import APIKeyQuery
    from fastapi.testclient import TestClient
    from pydantic import BaseModel
    
    app = FastAPI()
    
    api_key = APIKeyQuery(name="key", auto_error=False)
    
    
    class User(BaseModel):
        username: str
    
    
    def get_current_user(oauth_header: Optional[str] = Security(api_key)):
        if oauth_header is None:
            return None
    Registered: Sun Oct 27 07:19:11 UTC 2024
    - Last Modified: Fri Jun 30 18:25:16 UTC 2023
    - 2K bytes
    - Viewed (0)
  10. docs/pt/docs/python-types.md

    ```Python hl_lines="1 4"
    {!../../docs_src/python_types/tutorial009.py!}
    ```
    
    O uso de `Optional[str]` em vez de apenas `str` permitirΓ‘ que o editor o ajude a detectar erros, onde vocΓͺ pode estar assumindo que um valor Γ© sempre um `str`, quando na verdade tambΓ©m pode ser `None`.
    
    Registered: Sun Oct 27 07:19:11 UTC 2024
    - Last Modified: Tue Oct 15 12:32:27 UTC 2024
    - 18K bytes
    - Viewed (0)
Back to top