Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 3 of 3 for create_model (0.12 sec)

  1. fastapi/_compat.py

        Sequence,
        Set,
        Tuple,
        Type,
        Union,
    )
    
    from fastapi.exceptions import RequestErrorModel
    from fastapi.types import IncEx, ModelNameMap, UnionType
    from pydantic import BaseModel, create_model
    from pydantic.version import VERSION as P_VERSION
    from starlette.datastructures import UploadFile
    from typing_extensions import Annotated, Literal, get_args, get_origin
    
    # Reassign variable to make it reexported for mypy
    Registered: Mon Jun 17 08:32:26 UTC 2024
    - Last Modified: Thu Apr 18 19:40:57 UTC 2024
    - 22.6K bytes
    - Viewed (0)
  2. platforms/core-configuration/model-core/src/integTest/groovy/org/gradle/model/managed/ScalarTypesInManagedModelIntegrationTest.groovy

                interface ManagedType {
                    ${properties.dsl.join('\n')}
                }
    
                class PluginRules extends RuleSource {
                    @Model
                    void createModel(ManagedType p) {
                        ${properties.assignment.join('\n')}
                    }
    
                    @Mutate
                    void addCheckTask(ModelMap<Task> tasks, ManagedType p) {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Sep 28 09:51:04 UTC 2023
    - 27.1K bytes
    - Viewed (0)
  3. pkg/volume/util/subpath/subpath_windows.go

    	}
    	access := uint32(syscall.GENERIC_READ)
    	sharemode := uint32(syscall.FILE_SHARE_READ)
    	createmode := uint32(syscall.OPEN_EXISTING)
    	flags := uint32(syscall.FILE_FLAG_BACKUP_SEMANTICS | syscall.FILE_FLAG_OPEN_REPARSE_POINT)
    	fd, err := syscall.CreateFile(pathp, access, sharemode, nil, createmode, flags, 0)
    	return uintptr(fd), err
    }
    
    // Lock all directories in subPath and check they're not symlinks.
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed Aug 23 12:57:11 UTC 2023
    - 12.5K bytes
    - Viewed (0)
Back to top