Search Options

Results per page
Sort
Preferred Languages
Advance

Results 421 - 430 of 1,339 for contextos (0.09 sec)

  1. docs/zh/docs/advanced/templates.md

    * 在返回模板的*路径操作*中声明 `Request` 参数
    * 使用 `templates` 渲染并返回 `TemplateResponse`, 传递模板的名称、request对象以及一个包含多个键值对(用于Jinja2模板)的"context"字典,
    
    ```Python hl_lines="4  11  15-16"
    {!../../docs_src/templates/tutorial001.py!}
    ```
    
    /// note | "笔记"
    
    在FastAPI 0.108.0,Starlette 0.29.0之前,`name`是第一个参数。
    并且,在此之前,`request`对象是作为context的一部分以键值对的形式传递的。
    
    ///
    
    /// tip | "提示"
    
    通过声明 `response_class=HTMLResponse`,API 文档就能识别响应的对象是 HTML。
    
    ///
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Sun Oct 06 20:36:54 UTC 2024
    - 2.8K bytes
    - Viewed (0)
  2. src/test/java/org/codelibs/fess/suggest/index/contents/DefaultContentsParserTest.java

     */
    package org.codelibs.fess.suggest.index.contents;
    
    import java.io.IOException;
    import java.util.List;
    
    import org.codelibs.fess.suggest.converter.KatakanaToAlphabetConverter;
    import org.codelibs.fess.suggest.converter.ReadingConverter;
    import org.codelibs.fess.suggest.converter.ReadingConverterChain;
    import org.codelibs.fess.suggest.entity.SuggestItem;
    import org.codelibs.fess.suggest.index.contents.querylog.QueryLog;
    Registered: Fri Nov 08 09:08:12 UTC 2024
    - Last Modified: Thu Feb 22 01:36:54 UTC 2024
    - 3.4K bytes
    - Viewed (0)
  3. android/guava/src/com/google/common/io/Files.java

       *
       * <p><b>Warning:</b> If {@code to} represents an existing file, that file will be overwritten
       * with the contents of {@code from}. If {@code to} and {@code from} refer to the <i>same</i>
       * file, the contents of that file will be deleted.
       *
       * <p><b>{@link java.nio.file.Path} equivalent:</b> {@link
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Mon Jul 22 19:03:12 UTC 2024
    - 33.1K bytes
    - Viewed (0)
  4. docs/debugging/s3-verify/main.go

    		Prefix:    sourcePrefix,
    	}
    
    	topts := minio.ListObjectsOptions{
    		Recursive: true,
    		Prefix:    targetPrefix,
    	}
    
    	srcCh := sclnt.ListObjects(context.Background(), sourceBucket, sopts)
    	tgtCh := tclnt.ListObjects(context.Background(), targetBucket, topts)
    
    	srcCtnt, srcOk := nextObject(srcCh)
    	tgtCtnt, tgtOk := nextObject(tgtCh)
    
    	var srcEOF, tgtEOF bool
    
    	srcSha256 := sha256.New()
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Wed Jun 22 15:12:47 UTC 2022
    - 8.4K bytes
    - Viewed (0)
  5. istioctl/pkg/metrics/metrics.go

    }
    
    func run(c *cobra.Command, ctx cli.Context, args []string) error {
    	log.Debugf("metrics command invoked for workload(s): %v", args)
    
    	client, err := ctx.CLIClientWithRevision(metricsOpts.Revision)
    	if err != nil {
    		return fmt.Errorf("failed to create k8s client: %v", err)
    	}
    
    	pl, err := client.PodsForSelector(context.TODO(), ctx.IstioNamespace(), "app.kubernetes.io/name=prometheus")
    Registered: Wed Nov 06 22:53:10 UTC 2024
    - Last Modified: Sat Apr 13 05:23:38 UTC 2024
    - 8.4K bytes
    - Viewed (0)
  6. compat/maven-model-builder/src/main/java/org/apache/maven/model/management/DefaultDependencyManagementInjector.java

                    Map<Object, Object> context) {
                // optional flag is not managed
            }
    
            @Override
            protected void mergeDependency_Exclusions(
                    Dependency.Builder builder,
                    Dependency target,
                    Dependency source,
                    boolean sourceDominant,
                    Map<Object, Object> context) {
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 4.7K bytes
    - Viewed (0)
  7. finisher_api.go

    	var (
    		// clone statement
    		tx  = db.getInstance().Session(&Session{Context: db.Statement.Context, NewDB: db.clone == 1})
    		opt *sql.TxOptions
    		err error
    	)
    
    	if len(opts) > 0 {
    		opt = opts[0]
    	}
    
    	switch beginner := tx.Statement.ConnPool.(type) {
    	case TxBeginner:
    		tx.Statement.ConnPool, err = beginner.BeginTx(tx.Statement.Context, opt)
    	case ConnPoolBeginner:
    Registered: Sun Nov 03 09:35:10 UTC 2024
    - Last Modified: Sat Sep 14 12:58:29 UTC 2024
    - 22.8K bytes
    - Viewed (0)
  8. impl/maven-core/src/main/java/org/apache/maven/eventspy/AbstractEventSpy.java

    package org.apache.maven.eventspy;
    
    /**
     * A skeleton eventspy that does nothing other than helping implementors.
     * @since 3.0.2
     */
    public abstract class AbstractEventSpy implements EventSpy {
    
        public void init(Context context) throws Exception {}
    
        public void onEvent(Object event) throws Exception {}
    
        public void close() throws Exception {}
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 1.1K bytes
    - Viewed (0)
  9. cmd/data-scanner_test.go

    	objAPI, disks, err := prepareErasure(context.Background(), 8)
    	if err != nil {
    		t.Fatalf("Failed to initialize object layer: %v", err)
    	}
    	defer removeRoots(disks)
    	setObjectLayer(objAPI)
    	globalBucketMetadataSys = NewBucketMetadataSys()
    	globalBucketObjectLockSys = &BucketObjectLockSys{}
    	globalBucketVersioningSys = &BucketVersioningSys{}
    	es := newExpiryState(context.Background(), objAPI, 0)
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Fri May 03 11:18:58 UTC 2024
    - 6.9K bytes
    - Viewed (0)
  10. cmd/service.go

    )
    
    // Global service signal channel.
    var globalServiceSignalCh = make(chan serviceSignal)
    
    // GlobalContext context that is canceled when server is requested to shut down.
    // cancelGlobalContext can be used to indicate server shutdown.
    var GlobalContext, cancelGlobalContext = context.WithCancel(context.Background())
    
    // restartProcess starts a new process passing it the active fd's. It
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Wed Feb 28 07:02:14 UTC 2024
    - 3.8K bytes
    - Viewed (0)
Back to top