Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1761 - 1770 of 3,090 for False (0.04 sec)

  1. docs_src/sql_databases/tutorial001_an.py

        age: Union[int, None] = Field(default=None, index=True)
        secret_name: str
    
    
    sqlite_file_name = "database.db"
    sqlite_url = f"sqlite:///{sqlite_file_name}"
    
    connect_args = {"check_same_thread": False}
    engine = create_engine(sqlite_url, connect_args=connect_args)
    
    
    def create_db_and_tables():
        SQLModel.metadata.create_all(engine)
    
    
    def get_session():
        with Session(engine) as session:
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Wed Oct 09 19:44:42 UTC 2024
    - 1.8K bytes
    - Viewed (0)
  2. fastapi/responses.py

        """
    
        def render(self, content: Any) -> bytes:
            assert ujson is not None, "ujson must be installed to use UJSONResponse"
            return ujson.dumps(content, ensure_ascii=False).encode("utf-8")
    
    
    class ORJSONResponse(JSONResponse):
        """
        JSON response using the high-performance orjson library to serialize data to JSON.
    
        Read more about it in the
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Wed Oct 18 12:36:40 UTC 2023
    - 1.7K bytes
    - Viewed (0)
  3. tests/test_security_openid_connect_optional.py

    from fastapi.security.open_id_connect_url import OpenIdConnect
    from fastapi.testclient import TestClient
    from pydantic import BaseModel
    
    app = FastAPI()
    
    oid = OpenIdConnect(openIdConnectUrl="/openid", auto_error=False)
    
    
    class User(BaseModel):
        username: str
    
    
    def get_current_user(oauth_header: Optional[str] = Security(oid)):
        if oauth_header is None:
            return None
        user = User(username=oauth_header)
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Fri Jun 30 18:25:16 UTC 2023
    - 2.4K bytes
    - Viewed (0)
  4. tests/test_tutorial/test_header_params/test_tutorial002_an.py

                        "summary": "Read Items",
                        "operationId": "read_items_items__get",
                        "parameters": [
                            {
                                "required": False,
                                "schema": IsDict(
                                    {
                                        "anyOf": [{"type": "string"}, {"type": "null"}],
                                        "title": "Strange Header",
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Fri Jul 07 17:12:13 UTC 2023
    - 4K bytes
    - Viewed (0)
  5. src/main/webapp/WEB-INF/view/advance.jsp

    							class="align-items-center" />
    					</la:link>
    					<button class="navbar-toggler" type="button" data-toggle="collapse" data-target="#navbar" aria-controls="navbar"
    						aria-expanded="false" aria-label="Toggle navigation">
    						<span class="navbar-toggler-icon"></span>
    					</button>
    					<div class="collapse navbar-collapse" id="navbar">
    						<div class="mr-auto"></div>
    						<ul class="nav navbar-nav">
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Sat Oct 26 01:07:52 UTC 2024
    - 14.9K bytes
    - Viewed (0)
  6. cni/pkg/install/install.go

    	return nil
    }
    
    // Sets isReady to true.
    func setReady(isReady *atomic.Value) {
    	installReady.Record(1)
    	isReady.Store(true)
    }
    
    // Sets isReady to false.
    func setNotReady(isReady *atomic.Value) {
    	installReady.Record(0)
    	isReady.Store(false)
    }
    
    // installationThrottle is a small wrapper around a rate limitter. It aims to avoid excessive writes to CNI configuration,
    Registered: Wed Nov 06 22:53:10 UTC 2024
    - Last Modified: Fri Aug 09 21:33:51 UTC 2024
    - 13.5K bytes
    - Viewed (0)
  7. src/main/java/jcifs/http/NetworkExplorer.java

                    throw new ServletException(ioe.getMessage());
                }
    
                this.enableBasic = Config.getBoolean(p, "jcifs.http.enableBasic", false);
                this.insecureBasic = Config.getBoolean(p, "jcifs.http.insecureBasic", false);
                this.realm = p.getProperty("jcifs.http.basicRealm");
                if ( this.realm == null )
                    this.realm = "jCIFS";
    Registered: Sun Nov 03 00:10:13 UTC 2024
    - Last Modified: Sun Jul 01 13:12:10 UTC 2018
    - 21.3K bytes
    - Viewed (0)
  8. impl/maven-core/src/main/java/org/apache/maven/ReactorReader.java

            }
        }
    
        private boolean hasBeenPackagedDuringThisSession(MavenProject project) {
            boolean packaged = false;
            for (String phase : getLifecycles(project)) {
                switch (phase) {
                    case "clean":
                        packaged = false;
                        break;
                    case "package":
                    case "install":
                    case "deploy":
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 22.3K bytes
    - Viewed (0)
  9. internal/bucket/object/lock/lock.go

    	RetCompliance RetMode = "COMPLIANCE"
    )
    
    // Valid - returns if retention mode is valid
    func (r RetMode) Valid() bool {
    	switch r {
    	case RetGovernance, RetCompliance:
    		return true
    	}
    	return false
    }
    
    func parseRetMode(modeStr string) (mode RetMode) {
    	switch strings.ToUpper(modeStr) {
    	case "GOVERNANCE":
    		mode = RetGovernance
    	case "COMPLIANCE":
    		mode = RetCompliance
    	}
    	return mode
    }
    
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Sat Jun 29 01:20:27 UTC 2024
    - 17.1K bytes
    - Viewed (0)
  10. src/main/webapp/js/bootstrap.min.js.map

    this._getConfig(config)\n    this._element             = element\n    this._dialog              = element.querySelector(Selector.DIALOG)\n    this._backdrop            = null\n    this._isShown             = false\n    this._isBodyOverflowing   = false\n    this._ignoreBackdropClick = false\n    this._isTransitioning     = false\n    this._scrollbarWidth      = 0\n  }\n\n  // Getters\n\n  static get VERSION() {\n    return VERSION\n  }\n\n  static get Default() {\n    return Default\n  }\n\n  // Public\n\n  toggle(relatedTarget)...
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Sat Jan 11 06:54:28 UTC 2020
    - 189.9K bytes
    - Viewed (0)
Back to top