Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 1251 - 1260 of 3,838 for org (0.01 seconds)

  1. impl/maven-core/src/main/java/org/apache/maven/internal/MultilineMessageHelper.java

     * to you under the Apache License, Version 2.0 (the
     * "License"); you may not use this file except in compliance
     * with the License.  You may obtain a copy of the License at
     *
     *   http://www.apache.org/licenses/LICENSE-2.0
     *
     * Unless required by applicable law or agreed to in writing,
     * software distributed under the License is distributed on an
     * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
    Created: Sun Dec 28 03:35:09 GMT 2025
    - Last Modified: Wed Jul 23 17:27:08 GMT 2025
    - 2.8K bytes
    - Click Count (0)
  2. docs/zh/docs/tutorial/encoder.md

    比如,如果您需要将其存储在数据库中。
    
    对于这种要求, **FastAPI**提供了`jsonable_encoder()`函数。
    
    ## 使用`jsonable_encoder`
    
    让我们假设你有一个数据库名为`fake_db`,它只能接收与JSON兼容的数据。
    
    例如,它不接收`datetime`这类的对象,因为这些对象与JSON不兼容。
    
    因此,`datetime`对象必须将转换为包含<a href="https://en.wikipedia.org/wiki/ISO_8601" class="external-link" target="_blank">ISO格式化</a>的`str`类型对象。
    
    同样,这个数据库也不会接收Pydantic模型(带有属性的对象),而只接收`dict`。
    
    对此你可以使用`jsonable_encoder`。
    
    它接收一个对象,比如Pydantic模型,并会返回一个JSON兼容的版本:
    
    Created: Sun Dec 28 07:19:09 GMT 2025
    - Last Modified: Mon Nov 18 02:25:44 GMT 2024
    - 1.6K bytes
    - Click Count (0)
  3. build-logic/binary-compatibility/src/main/groovy/gradlebuild/binarycompatibility/rules/UpgradePropertiesRulePostProcess.java

     *
     * Licensed under the Apache License, Version 2.0 (the "License");
     * you may not use this file except in compliance with the License.
     * You may obtain a copy of the License at
     *
     *      http://www.apache.org/licenses/LICENSE-2.0
     *
     * Unless required by applicable law or agreed to in writing, software
     * distributed under the License is distributed on an "AS IS" BASIS,
    Created: Wed Dec 31 11:36:14 GMT 2025
    - Last Modified: Mon Aug 19 15:30:48 GMT 2024
    - 3.5K bytes
    - Click Count (0)
  4. api/maven-api-annotations/pom.xml

      under the License.
    -->
    <project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
      <modelVersion>4.0.0</modelVersion>
    
      <parent>
        <groupId>org.apache.maven</groupId>
        <artifactId>maven-api</artifactId>
        <version>4.1.0-SNAPSHOT</version>
      </parent>
    Created: Sun Dec 28 03:35:09 GMT 2025
    - Last Modified: Sun Jun 29 22:37:39 GMT 2025
    - 1.4K bytes
    - Click Count (0)
  5. build-logic/binary-compatibility/src/main/groovy/gradlebuild/binarycompatibility/rules/NullabilityBreakingChangesRule.groovy

    import me.champeau.gradle.japicmp.report.Violation
    import org.gradle.model.internal.asm.AsmConstants
    import org.objectweb.asm.AnnotationVisitor
    import org.objectweb.asm.ClassReader
    import org.objectweb.asm.ClassVisitor
    import org.objectweb.asm.FieldVisitor
    import org.objectweb.asm.MethodVisitor
    import org.objectweb.asm.Type
    import org.objectweb.asm.TypePath
    import org.objectweb.asm.TypeReference
    import org.objectweb.asm.signature.SignatureReader
    Created: Wed Dec 31 11:36:14 GMT 2025
    - Last Modified: Mon Oct 27 09:26:32 GMT 2025
    - 15.4K bytes
    - Click Count (0)
  6. impl/maven-core/src/test/resources-project-builder/boolean-interpolation/pom.xml

    to you under the Apache License, Version 2.0 (the
    "License"); you may not use this file except in compliance
    with the License.  You may obtain a copy of the License at
    
      https://www.apache.org/licenses/LICENSE-2.0
    
    Unless required by applicable law or agreed to in writing,
    software distributed under the License is distributed on an
    "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
    Created: Sun Dec 28 03:35:09 GMT 2025
    - Last Modified: Fri Oct 25 12:31:46 GMT 2024
    - 2.5K bytes
    - Click Count (0)
  7. build-logic/documentation/src/main/groovy/gradlebuild/docs/dsl/docbook/BlockTableRenderer.java

     * limitations under the License.
     */
    
    package gradlebuild.docs.dsl.docbook;
    
    import gradlebuild.docs.dsl.docbook.model.BlockDoc;
    import org.w3c.dom.Document;
    import org.w3c.dom.Element;
    
    public class BlockTableRenderer {
        public void renderTo(Iterable<BlockDoc> blocks, Element parent) {
            Document document = parent.getOwnerDocument();
    
            // <thead>
    Created: Wed Dec 31 11:36:14 GMT 2025
    - Last Modified: Wed Dec 09 08:14:05 GMT 2020
    - 2.8K bytes
    - Click Count (0)
  8. build-logic/documentation/src/main/groovy/gradlebuild/docs/dsl/docbook/PropertyTableRenderer.java

     * limitations under the License.
     */
    
    package gradlebuild.docs.dsl.docbook;
    
    import gradlebuild.docs.dsl.docbook.model.PropertyDoc;
    import org.w3c.dom.Document;
    import org.w3c.dom.Element;
    
    public class PropertyTableRenderer {
        public void renderTo(Iterable<PropertyDoc> properties, Element parent) {
            Document document = parent.getOwnerDocument();
    
            // <thead>
    Created: Wed Dec 31 11:36:14 GMT 2025
    - Last Modified: Wed Dec 09 08:14:05 GMT 2020
    - 3.1K bytes
    - Click Count (0)
  9. api/go1.4.txt

    # CL 153420045 crypto/x509: continue to recognise MaxPathLen of zero as "no value"., Adam Langley <agl@golang.org>
    pkg crypto/x509, type Certificate struct, MaxPathLenZero bool
    
    # CL 158950043 database/sql: add Drivers, returning list of registered drivers, Russ Cox <rsc@golang.org>
    pkg database/sql, func Drivers() []string
    
    Created: Tue Dec 30 11:13:12 GMT 2025
    - Last Modified: Fri Dec 12 03:01:01 GMT 2014
    - 34K bytes
    - Click Count (0)
  10. compat/maven-settings-builder/src/main/java/org/apache/maven/settings/building/SettingsBuildingRequest.java

     * specific language governing permissions and limitations
     * under the License.
     */
    package org.apache.maven.settings.building;
    
    import java.io.File;
    import java.util.Properties;
    
    /**
     * Collects settings that control the building of effective settings.
     *
     * @deprecated since 4.0.0, use {@link org.apache.maven.api.services.SettingsBuilder} instead
     */
    @Deprecated(since = "4.0.0")
    Created: Sun Dec 28 03:35:09 GMT 2025
    - Last Modified: Fri Oct 25 12:31:46 GMT 2024
    - 6K bytes
    - Click Count (0)
Back to Top