Search Options

Results per page
Sort
Preferred Languages
Advance

Results 2721 - 2730 of 2,835 for 2$ (0.02 sec)

  1. docs/ja/docs/tutorial/response-model.md

    同様に動作する`response_model_by_alias`にも当てはまります。
    
    ///
    
    ```Python hl_lines="31 37"
    {!../../docs_src/response_model/tutorial005.py!}
    ```
    
    /// tip | "豆知識"
    
    `{"name", "description"}`の構文はこれらつの値をもつ`set`を作成します。
    
    これは`set(["name", "description"])`と同等です。
    
    ///
    
    #### `set`の代わりに`list`を使用する
    
    もし`set`を使用することを忘れて、代わりに`list`や`tuple`を使用しても、FastAPIはそれを`set`に変換して正しく動作します:
    
    ```Python hl_lines="31 37"
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Sun Oct 06 20:36:54 UTC 2024
    - 9.2K bytes
    - Viewed (0)
  2. schema/relationship.go

    			schema.Relationships.Many2Many = append(schema.Relationships.Many2Many, relation)
    		}
    	}
    
    	return relation
    }
    
    // hasPolymorphicRelation check if has polymorphic relation
    // 1. `POLYMORPHIC` tag
    // 2. `POLYMORPHICTYPE` and `POLYMORPHICID` tag
    func hasPolymorphicRelation(tagSettings map[string]string) bool {
    	if _, ok := tagSettings["POLYMORPHIC"]; ok {
    		return true
    	}
    
    	_, hasType := tagSettings["POLYMORPHICTYPE"]
    Registered: Sun Nov 03 09:35:10 UTC 2024
    - Last Modified: Wed Jun 12 03:46:59 UTC 2024
    - 22.7K bytes
    - Viewed (0)
  3. fastapi/_compat.py

    from typing_extensions import Annotated, Literal, get_args, get_origin
    
    # Reassign variable to make it reexported for mypy
    PYDANTIC_VERSION = P_VERSION
    PYDANTIC_V2 = PYDANTIC_VERSION.startswith("2.")
    
    
    sequence_annotation_to_type = {
        Sequence: list,
        List: list,
        list: list,
        Tuple: tuple,
        tuple: tuple,
        Set: set,
        set: set,
        FrozenSet: frozenset,
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Sat Oct 12 09:36:32 UTC 2024
    - 23.4K bytes
    - Viewed (0)
  4. android/guava/src/com/google/common/collect/ImmutableList.java

        checkArgument(
            others.length <= Integer.MAX_VALUE - 12, "the total number of elements must fit in an int");
        Object[] array = new Object[12 + others.length];
        array[0] = e1;
        array[1] = e2;
        array[2] = e3;
        array[3] = e4;
        array[4] = e5;
        array[5] = e6;
        array[6] = e7;
        array[7] = e8;
        array[8] = e9;
        array[9] = e10;
        array[10] = e11;
        array[11] = e12;
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Oct 16 21:21:17 UTC 2024
    - 27.7K bytes
    - Viewed (0)
  5. docs/tr/docs/alternatives.md

    Bu Python teknolojisi bile değil. NestJS, Angulardan ilham almış olan bir JavaScript (TypeScript) NodeJS framework'ü.
    
    Flask-apispec ile yapılabileceklere nispeten benzeyen bir şey elde ediyor.
    
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Sun Oct 20 19:20:23 UTC 2024
    - 28.8K bytes
    - Viewed (0)
  6. cmd/config-current.go

    func GetHelp(subSys, key string, envOnly bool) (Help, error) {
    	if len(subSys) == 0 {
    		return Help{KeysHelp: config.HelpSubSysMap[subSys]}, nil
    	}
    	subSystemValue := strings.SplitN(subSys, config.SubSystemSeparator, 2)
    	if len(subSystemValue) == 0 {
    		return Help{}, config.Errorf("invalid number of arguments %s", subSys)
    	}
    
    	subSys = subSystemValue[0]
    
    	subSysHelp, ok := config.HelpSubSysMap[""].Lookup(subSys)
    	if !ok {
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Tue Sep 03 18:23:41 UTC 2024
    - 30.1K bytes
    - Viewed (0)
  7. docs/ru/docs/tutorial/response-model.md

    В нашем примере модели входных данных и выходных данных различаются. И если мы укажем аннотацию типа выходного значения функции как `UserOut` - проверка типов выдаст ошибку из-за того, что мы возвращаем некорректный тип. Поскольку это 2 разных класса.
    
    Поэтому в нашем примере мы можем объявить тип ответа только в параметре `response_model`.
    
    ...но продолжайте читать дальше, чтобы узнать как можно это обойти.
    
    ## Возвращаемый тип и Фильтрация данных
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Sun Oct 06 20:36:54 UTC 2024
    - 30.4K bytes
    - Viewed (0)
  8. docs/en/docs/img/deployment/https/https07.drawio

                <root>
                    <mxCell id="0"/>
                    <mxCell id="1" parent="0"/>
                    <mxCell id="2" value="" style="rounded=0;whiteSpace=wrap;html=1;fontStyle=1;strokeWidth=4;" parent="1" vertex="1">
                        <mxGeometry x="450" y="-50" width="820" height="970" as="geometry"/>
                    </mxCell>
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Thu May 12 00:06:16 UTC 2022
    - 18.7K bytes
    - Viewed (0)
  9. src/main/webapp/WEB-INF/view/admin/general/admin_general.jsp

            <jsp:param name="menuType" value="general"/>
        </jsp:include>
        <div class="content-wrapper">
            <div class="content-header">
                <div class="container-fluid">
                    <div class="row mb-2">
                        <div class="col-sm-6">
                            <h1>
                                <la:message key="labels.crawler_title_edit"/>
                            </h1>
                        </div>
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Mon Jan 16 12:54:35 UTC 2023
    - 39.4K bytes
    - Viewed (0)
  10. src/archive/zip/reader_test.go

    			},
    		},
    	},
    	{
    		Name: "symlink.zip",
    		File: []ZipTestFile{
    			{
    				Name:     "symlink",
    				Content:  []byte("../target"),
    				Modified: time.Date(2012, 2, 3, 19, 56, 48, 0, timeZone(-2*time.Hour)),
    				Mode:     0777 | fs.ModeSymlink,
    			},
    		},
    	},
    	{
    		Name: "readme.zip",
    	},
    	{
    		Name:  "readme.notzip",
    		Error: ErrFormat,
    	},
    	{
    		Name: "dd.zip",
    Registered: Tue Nov 05 11:13:11 UTC 2024
    - Last Modified: Thu Jul 25 00:25:45 UTC 2024
    - 55.6K bytes
    - Viewed (0)
Back to top