Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 1671 - 1680 of 3,262 for Import (0.1 seconds)

  1. docs_src/using_request_directly/tutorial001_py39.py

    from fastapi import FastAPI, Request
    
    app = FastAPI()
    
    
    @app.get("/items/{item_id}")
    def read_root(item_id: str, request: Request):
        client_host = request.client.host
    Created: Sun Dec 28 07:19:09 GMT 2025
    - Last Modified: Wed Dec 17 20:41:43 GMT 2025
    - 230 bytes
    - Click Count (0)
  2. build-logic/build-update-utils/src/main/kotlin/gradlebuild.update-init-template-versions.gradle.kts

    import gradlebuild.buildutils.tasks.UpdateInitPluginTemplateVersionFile
    
    tasks {
        register<UpdateInitPluginTemplateVersionFile>("updateInitPluginTemplateVersionFile") {
            group = "Build init"
            libraryVersionFile = layout.projectDirectory.file(
                "src/main/resources/org/gradle/buildinit/tasks/templates/library-versions.properties"
            )
        }
    Created: Wed Dec 31 11:36:14 GMT 2025
    - Last Modified: Fri Jan 20 15:24:40 GMT 2023
    - 378 bytes
    - Click Count (0)
  3. docs/pt/docs/tutorial/header-params.md

    # Parâmetros de Cabeçalho { #header-parameters }
    
    Você pode definir parâmetros de Cabeçalho da mesma maneira que define paramêtros com `Query`, `Path` e `Cookie`.
    
    ## Importe `Header` { #import-header }
    
    Primeiro importe `Header`:
    
    {* ../../docs_src/header_params/tutorial001_an_py310.py hl[3] *}
    
    ## Declare parâmetros de `Header` { #declare-header-parameters }
    
    Created: Sun Dec 28 07:19:09 GMT 2025
    - Last Modified: Wed Nov 12 16:23:57 GMT 2025
    - 3.3K bytes
    - Click Count (0)
  4. cmd/generic-handlers_contrib.go

     * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
     * See the License for the specific language governing permissions and
     * limitations under the License.
     */
    
    package cmd
    
    import (
    	"net/http"
    	"strings"
    )
    
    // guessIsLoginSTSReq - returns true if incoming request is Login STS user
    func guessIsLoginSTSReq(req *http.Request) bool {
    	if req == nil {
    		return false
    	}
    Created: Sun Dec 28 19:28:13 GMT 2025
    - Last Modified: Fri Apr 30 15:50:39 GMT 2021
    - 995 bytes
    - Click Count (0)
  5. internal/http/flush.go

    //
    // You should have received a copy of the GNU Affero General Public License
    // along with this program.  If not, see <http://www.gnu.org/licenses/>.
    
    package http
    
    import "net/http"
    
    // Flush the ResponseWriter.
    func Flush(w http.ResponseWriter) {
    	if f, ok := w.(http.Flusher); ok {
    		f.Flush()
    	}
    Created: Sun Dec 28 19:28:13 GMT 2025
    - Last Modified: Tue Feb 18 16:25:55 GMT 2025
    - 914 bytes
    - Click Count (0)
  6. internal/ioutil/read_file_noatime_supported.go

    //
    // You should have received a copy of the GNU Affero General Public License
    // along with this program.  If not, see <http://www.gnu.org/licenses/>.
    
    package ioutil
    
    import (
    	"os"
    )
    
    Created: Sun Dec 28 19:28:13 GMT 2025
    - Last Modified: Thu Aug 19 01:35:22 GMT 2021
    - 937 bytes
    - Click Count (0)
  7. migrator/index.go

    package migrator
    
    import "database/sql"
    
    // Index implements gorm.Index interface
    type Index struct {
    	TableName       string
    	NameValue       string
    	ColumnList      []string
    	PrimaryKeyValue sql.NullBool
    	UniqueValue     sql.NullBool
    	OptionValue     string
    }
    
    // Table return the table name of the index.
    func (idx Index) Table() string {
    	return idx.TableName
    }
    
    // Name return the name of the index.
    Created: Sun Dec 28 09:35:17 GMT 2025
    - Last Modified: Tue Apr 11 02:32:46 GMT 2023
    - 1023 bytes
    - Click Count (0)
  8. tests/test_request_params/test_body/utils.py

    from typing import Any
    
    
    def get_body_model_name(openapi: dict[str, Any], path: str) -> str:
        body = openapi["paths"][path]["post"]["requestBody"]
        body_schema = body["content"]["application/json"]["schema"]
    Created: Sun Dec 28 07:19:09 GMT 2025
    - Last Modified: Wed Dec 17 21:25:59 GMT 2025
    - 268 bytes
    - Click Count (0)
  9. docs/de/docs/tutorial/static-files.md

    * „Mounten“ Sie eine `StaticFiles()`-Instanz in einem bestimmten Pfad.
    
    {* ../../docs_src/static_files/tutorial001_py39.py hl[2,6] *}
    
    /// note | Technische Details
    
    Sie könnten auch `from starlette.staticfiles import StaticFiles` verwenden.
    
    **FastAPI** stellt dasselbe `starlette.staticfiles` auch via `fastapi.staticfiles` bereit, als Annehmlichkeit für Sie, den Entwickler. Es kommt aber tatsächlich direkt von Starlette.
    
    ///
    
    Created: Sun Dec 28 07:19:09 GMT 2025
    - Last Modified: Wed Dec 17 20:41:43 GMT 2025
    - 2K bytes
    - Click Count (0)
  10. internal/ioutil/wait_pipe.go

    //
    // You should have received a copy of the GNU Affero General Public License
    // along with this program.  If not, see <http://www.gnu.org/licenses/>.
    
    package ioutil
    
    import (
    	"io"
    	"sync"
    )
    
    // PipeWriter is similar to io.PipeWriter with wait group
    type PipeWriter struct {
    	*io.PipeWriter
    	once sync.Once
    	done func()
    }
    
    Created: Sun Dec 28 19:28:13 GMT 2025
    - Last Modified: Thu Apr 27 14:55:36 GMT 2023
    - 1.7K bytes
    - Click Count (0)
Back to Top