Search Options

Results per page
Sort
Preferred Languages
Advance

Results 21 - 30 of 45 for sida (0.16 sec)

  1. tests/test_tutorial/test_body/test_tutorial001.py

                        "type": "type_error.dict",
                    }
                ]
            }
        )
    
    
    def test_other_exceptions(client: TestClient):
        with patch("json.loads", side_effect=Exception):
            response = client.post("/items/", json={"test": "test2"})
            assert response.status_code == 400, response.text
    
    
    def test_openapi_schema(client: TestClient):
    Python
    - Registered: Sun Apr 28 07:19:10 GMT 2024
    - Last Modified: Thu Apr 18 19:40:57 GMT 2024
    - 14.7K bytes
    - Viewed (7)
  2. tests/test_tutorial/test_sql_databases/test_sql_databases.py

            test_db.unlink()
        # Import while creating the client to create the DB after starting the test session
        from docs_src.sql_databases.sql_app import main
    
        # Ensure import side effects are re-executed
        importlib.reload(main)
        with TestClient(main.app) as c:
            yield c
        if test_db.is_file():  # pragma: nocover
            test_db.unlink()
        os.chdir(cwd)
    
    
    Python
    - Registered: Sun Apr 28 07:19:10 GMT 2024
    - Last Modified: Wed Mar 13 19:07:10 GMT 2024
    - 16.1K bytes
    - Viewed (0)
  3. tests/test_tutorial/test_sql_databases/test_sql_databases_middleware_py310.py

            test_db.unlink()
        # Import while creating the client to create the DB after starting the test session
        from docs_src.sql_databases.sql_app_py310 import alt_main
    
        # Ensure import side effects are re-executed
        importlib.reload(alt_main)
    
        with TestClient(alt_main.app) as c:
            yield c
        if test_db.is_file():  # pragma: nocover
            test_db.unlink()
        os.chdir(cwd)
    
    
    Python
    - Registered: Sun Apr 28 07:19:10 GMT 2024
    - Last Modified: Wed Mar 13 19:07:10 GMT 2024
    - 16.5K bytes
    - Viewed (0)
  4. docs/es/docs/features.md

    * API keys en:
        * Headers.
        * Parámetros de Query.
        * Cookies, etc.
    
    Más todas las características de seguridad de Starlette (incluyendo **session cookies**).
    
    Todo ha sido construido como herramientas y componentes reutilizables que son fácilmente integrados con tus sistemas, almacenamiento de datos, bases de datos relacionales y no relacionales, etc.
    
    ### Dependency Injection
    
    Plain Text
    - Registered: Sun May 05 07:19:11 GMT 2024
    - Last Modified: Fri Mar 22 01:42:11 GMT 2024
    - 10.9K bytes
    - Viewed (0)
  5. maven-core/src/site/apt/offline-mode.apt

      feedback for that case. However, when offline mode is declared, nothing
      earmarked as remote should be accessed, regardless of whether it is actually
      a physically local resource.
    
      NOTE: One side-effect of this design change is that all offline-mode code can
      be isolated to maven-core, maven-plugin-descriptor, and [possibly]
      maven-artifact. Usage of maven-wagon will be determined by an offline-aware
      manager.
    
    Plain Text
    - Registered: Sun Apr 28 03:35:10 GMT 2024
    - Last Modified: Mon Mar 18 00:24:53 GMT 2024
    - 10.6K bytes
    - Viewed (0)
  6. internal/ioutil/ioutil.go

    func (w *DeadlineWriter) Close() error {
    	err := w.WriteCloser.Close()
    	w.err = err
    	if err == nil {
    		w.err = errors.New("we are closed") // Avoids any reuse on the Write() side.
    	}
    	return err
    }
    
    // LimitWriter implements io.WriteCloser.
    //
    // This is implemented such that we want to restrict
    // an enscapsulated writer upto a certain length
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Fri Apr 19 11:26:59 GMT 2024
    - 10.3K bytes
    - Viewed (0)
  7. cmd/erasure-multipart.go

    	result.Prefix = object
    	result.Delimiter = delimiter
    
    	var uploadIDs []string
    	var disk StorageAPI
    	disks := er.getOnlineLocalDisks()
    	if len(disks) == 0 {
    		// using er.getOnlineLocalDisks() has one side-affect where
    		// on a pooled setup all disks are remote, add a fallback
    		disks = er.getOnlineDisks()
    	}
    	for _, disk = range disks {
    		if disk == nil {
    			continue
    		}
    		if !disk.IsOnline() {
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Sun Apr 28 17:53:50 GMT 2024
    - 43K bytes
    - Viewed (0)
  8. internal/rest/client.go

    		c.dumpHTTP(req, resp)
    	}
    
    	if resp.StatusCode != http.StatusOK {
    		// If server returns 412 pre-condition failed, it would
    		// mean that authentication succeeded, but another
    		// side-channel check has failed, we shall take
    		// the client offline in such situations.
    		// generally all implementations should simply return
    		// 403, but in situations where there is a dependency
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Sun Apr 28 17:53:50 GMT 2024
    - 14.4K bytes
    - Viewed (0)
  9. analysis/analysis-api-fir/src/org/jetbrains/kotlin/analysis/api/fir/components/KtFirExpressionTypeProvider.kt

            // Some examples:
            // ```
            // when {
            //   true, false -> {}
            // }
            // ```
            // `false` does not have a corresponding elements on the FIR side and hence the containing `FirWhenBranch` is returned.
            // ```
            // @Volatile
            // private var
            // ```
            // Volatile does not have corresponding element, so `FirFileImpl` is returned
    Plain Text
    - Registered: Fri Apr 26 08:18:10 GMT 2024
    - Last Modified: Tue Mar 26 18:13:17 GMT 2024
    - 24.4K bytes
    - Viewed (0)
  10. docs/pt/docs/features.md

    ![editor support](https://fastapi.tiangolo.com/img/pycharm-completion.png)
    
    Você terá completação do seu código que você poderia considerar impossível antes. Como por exemplo, a chave `price` dentro do corpo JSON (que poderia ter sido aninhado) que vem de uma requisição.
    
    Sem a necessidade de digitar nomes de chaves erroneamente, ir e voltar entre documentações, ou rolar pela página para descobrir se você utilizou `username` or `user_name`.
    
    ### Breve
    
    Plain Text
    - Registered: Sun May 05 07:19:11 GMT 2024
    - Last Modified: Thu Apr 18 19:53:19 GMT 2024
    - 10.4K bytes
    - Viewed (0)
Back to top