Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1381 - 1390 of 2,237 for setS (0.09 sec)

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

    {!../../docs_src/response_model/tutorial005.py!}
    ```
    
    /// tip | "豆知識"
    
    `{"name", "description"}`の構文はこれら2つの値をもつ`set`を作成します。
    
    これは`set(["name", "description"])`と同等です。
    
    ///
    
    #### `set`の代わりに`list`を使用する
    
    もし`set`を使用することを忘れて、代わりに`list`や`tuple`を使用しても、FastAPIはそれを`set`に変換して正しく動作します:
    
    ```Python hl_lines="31 37"
    {!../../docs_src/response_model/tutorial006.py!}
    ```
    
    ## まとめ
    
    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. tensorflow/c/eager/c_api_remote_test_util.cc

                                       bool has_packed_input) {
      CHECK(!has_packed_input || func);
      tensorflow::ServerDef server_def = GetServerDef(3);
    
      // This server def has the task index set to 0.
      string serialized = server_def.SerializeAsString();
    
      server_def.set_task_index(1);
      std::unique_ptr<tensorflow::GrpcServer> worker_server1;
      ASSERT_TRUE(tensorflow::GrpcServer::Create(
    Registered: Tue Nov 05 12:39:12 UTC 2024
    - Last Modified: Fri Dec 11 22:56:03 UTC 2020
    - 9.1K bytes
    - Viewed (0)
  3. docs_src/sql_databases_peewee/sql_app/main.py

    database.db.connect()
    database.db.create_tables([models.User, models.Item])
    database.db.close()
    
    app = FastAPI()
    
    sleep_time = 10
    
    
    async def reset_db_state():
        database.db._state._state.set(db_state_default.copy())
        database.db._state.reset()
    
    
    def get_db(db_state=Depends(reset_db_state)):
        try:
            database.db.connect()
            yield
        finally:
            if not database.db.is_closed():
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Thu Mar 26 19:09:53 UTC 2020
    - 2.2K bytes
    - Viewed (0)
  4. internal/config/server.go

    }
    
    // ServerConfig represents a MinIO configuration file
    type ServerConfig struct {
    	ServerConfigVersion
    	ServerConfigCommon
    	Pools []struct {
    		Args          []string `yaml:"args"`
    		SetDriveCount uint64   `yaml:"set-drive-count"`
    	} `yaml:"pools"`
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Fri May 03 15:54:03 UTC 2024
    - 1.9K bytes
    - Viewed (0)
  5. .github/workflows/pylint-presubmit.yml

          with:
            output: ' '
        - name: Report list of changed files
          run: |
            echo Changed files: ${{ steps.get_file_changes.outputs.files }}
        - name: Set up Python 3.9
          uses: actions/setup-python@0b93645e9fea7318ecaed2b359559ac225c90a2b # v5.3.0
          with:
            python-version: "3.9"
        - name: Install Python dependencies
          run: |
    Registered: Tue Nov 05 12:39:12 UTC 2024
    - Last Modified: Fri Nov 01 08:40:10 UTC 2024
    - 1.7K bytes
    - Viewed (0)
  6. common/scripts/lint_copyright_banner.sh

    # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
    # See the License for the specific language governing permissions and
    # limitations under the License.
    
    set -e
    
    ec=0
    for fn in "$@"; do
      if ! grep -L -q -e "Apache License, Version 2" "${fn}"; then
        echo "Missing license: ${fn}"
        ec=1
      fi
    
      if ! grep -L -q -e "Copyright" "${fn}"; then
    Registered: Wed Nov 06 22:53:10 UTC 2024
    - Last Modified: Wed Sep 11 23:32:21 UTC 2019
    - 1.2K bytes
    - Viewed (0)
  7. internal/s3select/sql/record.go

    	QuoteEscape    rune
    	AlwaysQuote    bool
    }
    
    // Record - is a type containing columns and their values.
    type Record interface {
    	Get(name string) (*Value, error)
    
    	// Set a value.
    	// Can return a different record type.
    	Set(name string, value *Value) (Record, error)
    	WriteCSV(writer io.Writer, opts WriteCSVOpts) error
    	WriteJSON(writer io.Writer) error
    
    	// Clone the record and if possible use the destination provided.
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Tue Jun 01 21:59:40 UTC 2021
    - 3.4K bytes
    - Viewed (0)
  8. tests/test_tutorial/test_path_operation_configurations/test_tutorial005_py310.py

                        "operationId": "create_item_items__post",
                        "requestBody": {
                            "content": {
                                "application/json": {
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Thu Sep 28 04:14:40 UTC 2023
    - 8.9K bytes
    - Viewed (0)
  9. src/main/java/org/codelibs/fess/entity/PingResponse.java

     */
    package org.codelibs.fess.entity;
    
    import java.io.ByteArrayOutputStream;
    import java.io.IOException;
    import java.io.OutputStream;
    import java.util.Locale;
    import java.util.Set;
    
    import org.codelibs.core.lang.StringUtil;
    import org.codelibs.fess.Constants;
    import org.codelibs.fess.util.ComponentUtil;
    import org.codelibs.fess.util.SearchEngineUtil;
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Thu Feb 22 01:37:57 UTC 2024
    - 5.9K bytes
    - Viewed (2)
  10. guava/src/com/google/common/util/concurrent/Striped.java

        // optimize for runs of identical stripes
        int previousStripe = stripes[0];
        result.set(0, getAt(previousStripe));
        for (int i = 1; i < result.size(); i++) {
          int currentStripe = stripes[i];
          if (currentStripe == previousStripe) {
            result.set(i, result.get(i - 1));
          } else {
            result.set(i, getAt(currentStripe));
            previousStripe = currentStripe;
          }
        }
        /*
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Jun 26 12:58:35 UTC 2024
    - 20.6K bytes
    - Viewed (0)
Back to top