- Sort Score
- Result 10 results
- Languages All
Results 5921 - 5930 of 7,190 for imports (0.06 sec)
-
docs/uk/docs/tutorial/static-files.md
* "Під'єднати" екземпляр `StaticFiles()` з вказанням необхідного шляху. {* ../../docs_src/static_files/tutorial001.py hl[2,6] *} /// note | Технічні деталі Ви також можете використовувати `from starlette.staticfiles import StaticFiles`. **FastAPI** надає той самий `starlette.staticfiles`, що й `fastapi.staticfiles` для зручності розробників. Але фактично він безпосередньо походить із Starlette. /// ### Що таке "Під'єднання"Registered: Sun Sep 07 07:19:17 UTC 2025 - Last Modified: Fri Feb 07 22:17:53 UTC 2025 - 2.6K bytes - Viewed (0) -
src/archive/tar/example_test.go
// Copyright 2013 The Go Authors. All rights reserved. // Use of this source code is governed by a BSD-style // license that can be found in the LICENSE file. package tar_test import ( "archive/tar" "bytes" "fmt" "io" "log" "os" ) func Example_minimal() { // Create and add some files to the archive. var buf bytes.Buffer tw := tar.NewWriter(&buf) var files = []struct { Name, Body string }{
Registered: Tue Sep 09 11:13:09 UTC 2025 - Last Modified: Thu Nov 16 16:54:08 UTC 2017 - 1.4K bytes - Viewed (0) -
cmd/tier_test.go
// GNU Affero General Public License for more details. // // You should have received a copy of the GNU Affero General Public License // along with this program. If not, see <http://www.gnu.org/licenses/>. package cmd import ( "testing" "time" ) func TestTierMetrics(t *testing.T) { tier := "WARM-1" globalTierMetrics.Observe(tier, 200*time.Millisecond) expSuccess := 10 expFailure := 5 for range expSuccess {
Registered: Sun Sep 07 19:28:11 UTC 2025 - Last Modified: Fri Aug 29 02:39:48 UTC 2025 - 1.5K bytes - Viewed (0) -
cmd/endpoint_contrib_test.go
* 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. */ package cmd import ( "testing" "github.com/minio/minio-go/v7/pkg/set" ) func TestUpdateDomainIPs(t *testing.T) { tempGlobalMinioPort := globalMinioPort defer func() { globalMinioPort = tempGlobalMinioPort }()
Registered: Sun Sep 07 19:28:11 UTC 2025 - Last Modified: Fri Apr 30 15:50:39 UTC 2021 - 2.2K bytes - Viewed (0) -
docs/select/README.md
Please replace ``endpoint_url``,``aws_access_key_id``, ``aws_secret_access_key``, ``Bucket`` and ``Key`` with your local setup in this ``select.py`` file. ```py #!/usr/bin/env/env python3 import boto3 s3 = boto3.client('s3', endpoint_url='http://localhost:9000', aws_access_key_id='minio', aws_secret_access_key='minio123',
Registered: Sun Sep 07 19:28:11 UTC 2025 - Last Modified: Tue Aug 12 18:20:36 UTC 2025 - 6.6K bytes - Viewed (0) -
docs/sts/web-identity.go
// // You should have received a copy of the GNU Affero General Public License // along with this program. If not, see <http://www.gnu.org/licenses/>. package main import ( "bytes" "context" "crypto/rand" "encoding/base64" "encoding/json" "errors" "flag" "fmt" "log" "net/http" "net/url" "strings" "time" "golang.org/x/oauth2"
Registered: Sun Sep 07 19:28:11 UTC 2025 - Last Modified: Fri May 19 09:13:33 UTC 2023 - 7.8K bytes - Viewed (0) -
docs/uk/docs/tutorial/body-nested-models.md
У Python 3.9 це буде виглядати так: ```Python my_list: list[str] ``` У версіях Python до 3.9 це виглядає так: ```Python from typing import List my_list: List[str] ``` Це стандартний синтаксис Python для оголошення типів. Використовуйте той самий стандартний синтаксис для атрибутів моделей з внутрішніми типами.
Registered: Sun Sep 07 07:19:17 UTC 2025 - Last Modified: Fri Feb 28 14:18:01 UTC 2025 - 10.8K bytes - Viewed (0) -
cmd/peer-s3-server.go
// GNU Affero General Public License for more details. // // You should have received a copy of the GNU Affero General Public License // along with this program. If not, see <http://www.gnu.org/licenses/>. package cmd import ( "context" "errors" "github.com/minio/madmin-go/v3" "github.com/minio/pkg/v3/sync/errgroup" "github.com/puzpuzpuz/xsync/v3" ) const ( peerS3Bucket = "bucket"
Registered: Sun Sep 07 19:28:11 UTC 2025 - Last Modified: Fri Aug 29 02:39:48 UTC 2025 - 8.2K bytes - Viewed (0) -
cmd/last-minute_gen_test.go
package cmd // Code generated by github.com/tinylib/msgp DO NOT EDIT. import ( "bytes" "testing" "github.com/tinylib/msgp/msgp" ) func TestMarshalUnmarshalAccElem(t *testing.T) { v := AccElem{} bts, err := v.MarshalMsg(nil) if err != nil { t.Fatal(err) } left, err := v.UnmarshalMsg(bts) if err != nil { t.Fatal(err) } if len(left) > 0 {
Registered: Sun Sep 07 19:28:11 UTC 2025 - Last Modified: Tue Jul 05 21:45:49 UTC 2022 - 6.8K bytes - Viewed (0) -
cmd/site-replication-utils_gen.go
package cmd // Code generated by github.com/tinylib/msgp DO NOT EDIT. import ( "github.com/tinylib/msgp/msgp" ) // DecodeMsg implements msgp.Decodable func (z *SiteResyncStatus) DecodeMsg(dc *msgp.Reader) (err error) { var field []byte _ = field var zb0001 uint32 zb0001, err = dc.ReadMapHeader() if err != nil { err = msgp.WrapError(err) return } for zb0001 > 0 { zb0001-- field, err = dc.ReadMapKeyPtr()
Registered: Sun Sep 07 19:28:11 UTC 2025 - Last Modified: Mon Nov 14 15:16:40 UTC 2022 - 7.2K bytes - Viewed (0)