Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1821 - 1830 of 2,450 for createId (0.06 sec)

  1. docs/en/docs/advanced/response-headers.md

    You can also declare the `Response` parameter in dependencies, and set headers (and cookies) in them.
    
    ## Return a `Response` directly
    
    You can also add headers when you return a `Response` directly.
    
    Create a response as described in [Return a Response Directly](response-directly.md){.internal-link target=_blank} and pass the headers as an additional parameter:
    
    ```Python hl_lines="10-12"
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Sun Oct 06 20:36:54 UTC 2024
    - 2.2K bytes
    - Viewed (0)
  2. build-logic/documentation/src/main/groovy/gradlebuild/docs/GenerateDocInfo.java

                try {
                    Files.write(docInfo.toPath(), Collections.singleton(String.format("<meta name=\"adoc-src-path\" content=\"%s\">", relativePath)), StandardOpenOption.CREATE);
                } catch (IOException e) {
                    throw new UncheckedIOException(e);
                }
            });
        }
    Registered: Wed Nov 06 11:36:14 UTC 2024
    - Last Modified: Tue Sep 28 06:35:34 UTC 2021
    - 2.9K bytes
    - Viewed (0)
  3. build-logic/documentation/src/main/groovy/gradlebuild/docs/dsl/source/GenerateApiMapping.java

         */
        @Input
        public abstract SetProperty<String> getExcludedPackages();
    
        @TaskAction
        public void generate() throws IOException {
            final Multimap<String, String> simpleNames = LinkedHashMultimap.create();
            ClassMetaDataUtil.extractFromMetadata(getMetaDataFile().getAsFile().get(), getExcludedPackages().get(), classMetaData -> simpleNames.put(classMetaData.getSimpleName(), classMetaData.getClassName()));
    Registered: Wed Nov 06 11:36:14 UTC 2024
    - Last Modified: Wed Dec 09 08:14:05 UTC 2020
    - 3.1K bytes
    - Viewed (0)
  4. docs/en/docs/tutorial/query-param-models.md

    # Query Parameter Models
    
    If you have a group of **query parameters** that are related, you can create a **Pydantic model** to declare them.
    
    This would allow you to **re-use the model** in **multiple places** and also to declare validations and metadata for all the parameters at once. 😎
    
    /// note
    
    This is supported since FastAPI version `0.115.0`. 🤓
    
    ///
    
    ## Query Parameters with a Pydantic Model
    
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Sun Oct 06 20:36:54 UTC 2024
    - 3.8K bytes
    - Viewed (0)
  5. istioctl/pkg/precheck/precheck_test.go

    	messages := diag.Messages{}
    
    	zipkinSvc := &corev1.Service{
    		ObjectMeta: metav1.ObjectMeta{
    			Name:      "zipkin",
    			Namespace: "istio-system",
    		},
    	}
    	cli.Kube().CoreV1().Services("istio-system").Create(context.Background(), zipkinSvc, metav1.CreateOptions{})
    
    	err := checkTracing(cli, &messages)
    	assert.NoError(t, err)
    	assert.Equal(t, 1, len(messages))
    
    Registered: Wed Nov 06 22:53:10 UTC 2024
    - Last Modified: Tue Jul 09 12:01:22 UTC 2024
    - 3.9K bytes
    - Viewed (0)
  6. android/guava/src/com/google/common/net/InternetDomainName.java

          substringFrom += parts.get(i).length();
        }
        String ancestorName = name.substring(substringFrom);
    
        return new InternetDomainName(ancestorName, ancestorParts);
      }
    
      /**
       * Creates and returns a new {@code InternetDomainName} by prepending the argument and a dot to
       * the current name. For example, {@code InternetDomainName.from("foo.com").child("www.bar")}
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Mon Feb 05 20:47:23 UTC 2024
    - 28K bytes
    - Viewed (0)
  7. android/guava/src/com/google/common/collect/AbstractSortedSetMultimap.java

    @GwtCompatible
    @ElementTypesAreNonnullByDefault
    abstract class AbstractSortedSetMultimap<K extends @Nullable Object, V extends @Nullable Object>
        extends AbstractSetMultimap<K, V> implements SortedSetMultimap<K, V> {
      /**
       * Creates a new multimap that uses the provided map.
       *
       * @param map place to store the mapping from each key to its corresponding values
       */
      protected AbstractSortedSetMultimap(Map<K, Collection<V>> map) {
        super(map);
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Oct 30 16:15:19 UTC 2024
    - 5.5K bytes
    - Viewed (0)
  8. cmd/config.go

    func (sys *ConfigSys) Init(objAPI ObjectLayer) error {
    	if objAPI == nil {
    		return errInvalidArgument
    	}
    
    	return initConfig(objAPI)
    }
    
    // NewConfigSys - creates new config system object.
    func NewConfigSys() *ConfigSys {
    	return &ConfigSys{}
    }
    
    // Initialize and load config from remote etcd or local config directory
    func initConfig(objAPI ObjectLayer) (err error) {
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Wed Aug 23 10:07:06 UTC 2023
    - 6K bytes
    - Viewed (0)
  9. tests/named_argument_test.go

    		Name1 string
    		Name2 string
    		Name3 string
    	}
    
    	DB.Migrator().DropTable(&NamedUser{})
    	DB.AutoMigrate(&NamedUser{})
    
    	namedUser := NamedUser{Name1: "jinzhu1", Name2: "jinzhu2", Name3: "jinzhu3"}
    	DB.Create(&namedUser)
    
    	var result NamedUser
    	DB.First(&result, "name1 = @name OR name2 = @name OR name3 = @name", sql.Named("name", "jinzhu2"))
    
    	AssertEqual(t, result, namedUser)
    
    	var result2 NamedUser
    Registered: Sun Nov 03 09:35:10 UTC 2024
    - Last Modified: Tue Dec 21 11:50:00 UTC 2021
    - 2.7K bytes
    - Viewed (0)
  10. src/main/java/org/codelibs/fess/app/job/AllJobScheduler.java

        }
    
        @Override
        public LaJobRunner createRunner() {
            return new LaJobRunner().useAccessContext(
                    resource -> accessContextLogic.create(resource, OptionalThing::empty, OptionalThing::empty, () -> APP_TYPE));
        }
    
        public void setJobClass(final Class<? extends LaJob> jobClass) {
            this.jobClass = jobClass;
        }
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Thu Feb 22 01:53:18 UTC 2024
    - 3.8K bytes
    - Viewed (0)
Back to top