Search Options

Results per page
Sort
Preferred Languages
Advance

Results 421 - 430 of 940 for modal (0.07 sec)

  1. build-logic/documentation/src/main/groovy/gradlebuild/docs/dsl/links/ClassLinkMetaData.java

     * limitations under the License.
     */
    package gradlebuild.docs.dsl.links;
    
    import gradlebuild.docs.dsl.source.model.ClassMetaData;
    import gradlebuild.docs.dsl.source.model.EnumConstantMetaData;
    import gradlebuild.docs.dsl.source.model.MethodMetaData;
    import gradlebuild.docs.model.Attachable;
    import gradlebuild.docs.model.ClassMetaDataRepository;
    import org.gradle.util.CollectionUtils;
    
    import java.io.Serializable;
    Registered: Wed Nov 06 11:36:14 UTC 2024
    - Last Modified: Wed Dec 09 08:14:05 UTC 2020
    - 7.4K bytes
    - Viewed (0)
  2. docs/uk/docs/tutorial/encoder.md

    Тим самим способом ця база даних не прийматиме об'єкт типу Pydantic model (об'єкт з атрибутами), а лише `dict`.
    
    Ви можете використовувати `jsonable_encoder` для цього.
    
    Вона приймає об'єкт, такий як Pydantic model, і повертає його версію, сумісну з JSON:
    
    //// tab | Python 3.10+
    
    ```Python hl_lines="4  21"
    {!> ../../docs_src/encoder/tutorial001_py310.py!}
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Sun Oct 06 20:36:54 UTC 2024
    - 2.6K bytes
    - Viewed (0)
  3. tests/test_additional_responses_response_class.py

        errors: typing.List[Error]
    
    
    @app.get(
        "/a",
        response_class=JsonApiResponse,
        responses={500: {"description": "Error", "model": JsonApiError}},
    )
    async def a():
        pass  # pragma: no cover
    
    
    @app.get("/b", responses={500: {"description": "Error", "model": Error}})
    async def b():
        pass  # pragma: no cover
    
    
    client = TestClient(app)
    
    
    def test_openapi_schema():
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Fri Jun 30 18:25:16 UTC 2023
    - 3.5K bytes
    - Viewed (0)
  4. impl/maven-core/src/main/java/org/apache/maven/internal/aether/ReverseTreeRepositoryListener.java

    import java.nio.file.Files;
    import java.nio.file.Path;
    import java.util.ArrayList;
    import java.util.List;
    import java.util.ListIterator;
    import java.util.Objects;
    
    import org.apache.maven.model.InputLocation;
    import org.apache.maven.model.Plugin;
    import org.eclipse.aether.AbstractRepositoryListener;
    import org.eclipse.aether.RepositoryEvent;
    import org.eclipse.aether.RepositorySystemSession;
    import org.eclipse.aether.RequestTrace;
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 9.8K bytes
    - Viewed (0)
  5. compat/maven-settings/pom.xml

              <basedir>${project.basedir}/../../api/maven-api-settings</basedir>
              <velocityBasedir>${project.basedir}/../../src/mdo</velocityBasedir>
              <models>
                <model>src/main/mdo/settings.mdo</model>
              </models>
              <params>
                <param>forcedIOModelVersion=1.2.0</param>
                <param>packageModelV3=org.apache.maven.settings</param>
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 4.8K bytes
    - Viewed (0)
  6. impl/maven-core/src/main/java/org/apache/maven/internal/impl/DefaultMojoExecution.java

    import org.apache.maven.api.Artifact;
    import org.apache.maven.api.Dependency;
    import org.apache.maven.api.MojoExecution;
    import org.apache.maven.api.Node;
    import org.apache.maven.api.Plugin;
    import org.apache.maven.api.model.PluginExecution;
    import org.apache.maven.api.plugin.descriptor.MojoDescriptor;
    import org.apache.maven.api.plugin.descriptor.PluginDescriptor;
    import org.apache.maven.api.plugin.descriptor.lifecycle.Lifecycle;
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 5.2K bytes
    - Viewed (0)
  7. impl/maven-core/src/main/java/org/apache/maven/internal/impl/DefaultPackagingRegistry.java

    import org.apache.maven.api.Packaging;
    import org.apache.maven.api.Type;
    import org.apache.maven.api.model.Dependency;
    import org.apache.maven.api.model.InputLocation;
    import org.apache.maven.api.model.Plugin;
    import org.apache.maven.api.model.PluginContainer;
    import org.apache.maven.api.model.PluginExecution;
    import org.apache.maven.api.services.Lookup;
    import org.apache.maven.api.services.PackagingRegistry;
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 7.8K bytes
    - Viewed (0)
  8. build-logic/binary-compatibility/src/main/groovy/gradlebuild/binarycompatibility/rules/IncubatingInternalInterfaceAddedRule.groovy

     * See the License for the specific language governing permissions and
     * limitations under the License.
     */
    
    package gradlebuild.binarycompatibility.rules
    
    import japicmp.model.JApiChangeStatus
    import japicmp.model.JApiClass
    import japicmp.model.JApiCompatibility
    import javassist.CtClass
    import me.champeau.gradle.japicmp.report.Violation
    
    class IncubatingInternalInterfaceAddedRule extends AbstractSuperClassChangesRule {
    
    Registered: Wed Nov 06 11:36:14 UTC 2024
    - Last Modified: Thu Oct 06 19:15:15 UTC 2022
    - 2.8K bytes
    - Viewed (0)
  9. docs/pt/docs/advanced/additional-responses.md

    ## Retorno Adicional com `model`
    
    Você pode fornecer o parâmetro `responses` aos seus *decoradores de caminho*.
    
    Este parâmetro recebe um `dict`, as chaves são os códigos de status para cada retorno, como por exemplo `200`, e os valores são um outro `dict` com a informação de cada um deles.
    
    Cada um desses `dict` de retorno pode ter uma chave `model`, contendo um modelo do Pydantic, assim como o `response_model`.
    
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Sun Oct 06 20:36:54 UTC 2024
    - 9.3K bytes
    - Viewed (0)
  10. tests/create_test.go

    				t.Fatalf("errors happened when query: %v", err)
    			} else {
    				CheckUser(t, newUser, user)
    			}
    		}
    	}
    }
    
    func TestCreateFromMap(t *testing.T) {
    	if err := DB.Model(&User{}).Create(map[string]interface{}{"Name": "create_from_map", "Age": 18}).Error; err != nil {
    		t.Fatalf("failed to create data from map, got error: %v", err)
    	}
    
    	var result User
    Registered: Sun Nov 03 09:35:10 UTC 2024
    - Last Modified: Tue Mar 19 03:50:28 UTC 2024
    - 26.4K bytes
    - Viewed (0)
Back to top