Search Options

Results per page
Sort
Preferred Languages
Advance

Results 21 - 27 of 27 for my_ver (0.2 sec)

  1. src/cmd/cgo/internal/test/test.go

    // (even though we now use errors exclusively, not warnings).
    
    void myfunc(void) {}
    int myvar = 5;
    const char *mytext = "abcdef";
    typedef int mytype;
    enum {
    	myenum = 1234,
    };
    
    #define myfunc_def myfunc
    #define myvar_def myvar
    #define mytext_def mytext
    #define mytype_def mytype
    #define myenum_def myenum
    #define myint_def 12345
    #define myfloat_def 1.5
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon May 20 15:50:06 UTC 2024
    - 48.5K bytes
    - Viewed (0)
  2. docs/ko/docs/features.md

    def main(user_id: str):
        return user_id
    
    
    # Pydantic 모델
    class User(BaseModel):
        id: int
        name: str
        joined: date
    ```
    
    위의 코드는 다음과 같이 사용될 수 있습니다:
    
    ```Python
    my_user: User = User(id=3, name="John Doe", joined="2018-07-19")
    
    second_user_data = {
        "id": 4,
        "name": "Mary",
        "joined": "2018-11-30",
    }
    
    my_second_user: User = User(**second_user_data)
    ```
    
    Registered: Mon Jun 17 08:32:26 UTC 2024
    - Last Modified: Thu Apr 18 19:53:19 UTC 2024
    - 11.8K bytes
    - Viewed (0)
  3. docs/ja/docs/features.md

    def main(user_id: str):
        return user_id
    
    
    # A Pydantic model
    class User(BaseModel):
        id: int
        name: str
        joined: date
    ```
    
    これは以下のように用いられます:
    
    ```Python
    my_user: User = User(id=3, name="John Doe", joined="2018-07-19")
    
    second_user_data = {
        "id": 4,
        "name": "Mary",
        "joined": "2018-11-30",
    }
    
    my_second_user: User = User(**second_user_data)
    ```
    
    Registered: Mon Jun 17 08:32:26 UTC 2024
    - Last Modified: Thu Apr 18 19:53:19 UTC 2024
    - 12.3K bytes
    - Viewed (0)
  4. docs/zh/docs/tutorial/sql-databases.md

    这将或多或少会成为一种“神奇”属性,其中表示该表与其他相关的表中的值。
    
    ```Python hl_lines="2  15  26"
    {!../../../docs_src/sql_databases/sql_app/models.py!}
    ```
    
    当访问 user 中的属性`items`时,如 中`my_user.items`,它将有一个`Item`SQLAlchemy 模型列表(来自`items`表),这些模型具有指向`users`表中此记录的外键。
    
    当您访问`my_user.items`时,SQLAlchemy 实际上会从`items`表中的获取一批记录并在此处填充进去。
    
    同样,当访问 Item中的属性`owner`时,它将包含表中的`User`SQLAlchemy 模型`users`。使用`owner_id`属性/列及其外键来了解要从`users`表中获取哪条记录。
    
    ## 创建 Pydantic 模型
    
    Registered: Mon Jun 17 08:32:26 UTC 2024
    - Last Modified: Tue May 07 21:00:22 UTC 2024
    - 27.3K bytes
    - Viewed (0)
  5. cmd/kubeadm/app/preflight/checks.go

    // Name will return SystemVerification as name for SystemVerificationCheck
    func (SystemVerificationCheck) Name() string {
    	return "SystemVerification"
    }
    
    // Check runs all individual checks
    func (sysver SystemVerificationCheck) Check() (warnings, errorList []error) {
    	klog.V(1).Infoln("running all checks")
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Mon Jun 03 11:20:55 UTC 2024
    - 39.5K bytes
    - Viewed (0)
  6. docs/en/docs/release-notes.md

    In short, if you had dependencies that looked like:
    
    ```Python
    def my_dep():
        try:
            yield
        except SomeException:
            pass
    ```
    
    Now you need to make sure you raise again after `except`, just as you would in regular Python:
    
    ```Python
    def my_dep():
        try:
            yield
        except SomeException:
            raise
    ```
    
    ### Docs
    
    Registered: Mon Jun 17 08:32:26 UTC 2024
    - Last Modified: Fri Jun 14 15:07:37 UTC 2024
    - 395.4K bytes
    - Viewed (0)
  7. pkg/apis/core/validation/validation_test.go

    			Type:  "type",
    			Level: "level",
    		},
    		RunAsUser: &runAsUser,
    	}
    	invalidLinuxSC := &core.PodSecurityContext{
    		WindowsOptions: &core.WindowsSecurityContextOptions{RunAsUserName: utilpointer.String("myUser")},
    	}
    
    	cases := map[string]struct {
    		podSpec     *core.PodSpec
    		expectErr   bool
    		errorType   field.ErrorType
    		errorDetail string
    	}{
    		"valid SC, linux, no error": {
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed May 29 22:40:29 UTC 2024
    - 857.7K bytes
    - Viewed (0)
Back to top