- Sort Score
- Result 10 results
- Languages All
Results 1081 - 1090 of 1,094 for Fstr (0.07 sec)
-
guava/src/com/google/common/base/CharMatcher.java
* CharMatcher.anyOf("ab").trimFrom("abacatbab") * }</pre> * * ... returns {@code "cat"}. * * <p>Note that: * * <pre>{@code * CharMatcher.inRange('\0', ' ').trimFrom(str) * }</pre> * * ... is equivalent to {@link String#trim()}. */ public String trimFrom(CharSequence sequence) { int len = sequence.length(); int first; int last;
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Thu Oct 17 13:00:28 UTC 2024 - 53.9K bytes - Viewed (0) -
docs/zh/docs/tutorial/sql-databases.md
#### SQLAlchemy 风格和 Pydantic 风格 请注意,SQLAlchemy*模型*使用 `=`来定义属性,并将类型作为参数传递给`Column`,例如: ```Python name = Column(String) ``` 虽然 Pydantic*模型*使用`:` 声明类型,但新的类型注释语法/类型提示是: ```Python name: str ``` 请牢记这一点,这样您在使用`:`还是`=`时就不会感到困惑。 ### 创建用于读取/返回的Pydantic*模型/模式* 现在创建当从 API 返回数据时、将在读取数据时使用的Pydantic*模型(schemas)。* 例如,在创建一个项目之前,我们不知道分配给它的 ID 是什么,但是在读取它时(从 API 返回时)我们已经知道它的 ID。
Registered: Sun Nov 03 07:19:11 UTC 2024 - Last Modified: Sun Oct 06 20:36:54 UTC 2024 - 27.1K bytes - Viewed (0) -
okhttp/src/test/java/okhttp3/URLConnectionTest.kt
.addHeader("Content-Type: text/plain") .body("STR;FFMJ2;Frankfurt;RTCM 2.1;1(1),3(19),16(59);0;GPS;GREF;DEU;50.12;8.68;0;1;GPSNet V2.10;none;N;N;560;Demo\nENDSOURCETABLE") .build(), ) val response = getResponse(newRequest("/")) assertThat(response.code).isEqualTo(200) assertThat(response.message).isEqualTo("OK") assertContent(
Registered: Fri Nov 01 11:42:11 UTC 2024 - Last Modified: Sat Jan 20 10:30:28 UTC 2024 - 131.7K bytes - Viewed (0) -
tensorflow/c/c_api_function_test.cc
Registered: Tue Nov 05 12:39:12 UTC 2024 - Last Modified: Thu Jul 20 22:08:54 UTC 2023 - 63.6K bytes - Viewed (0) -
docs/ko/docs/deployment/docker.md
from fastapi import FastAPI app = FastAPI() @app.get("/") def read_root(): return {"Hello": "World"} @app.get("/items/{item_id}") def read_item(item_id: int, q: Union[str, None] = None): return {"item_id": item_id, "q": q} ``` ### 도커파일 이제 같은 프로젝트 디렉터리에 다음과 같은 파일 `Dockerfile`을 생성합니다: ```{ .dockerfile .annotate } # (1) FROM python:3.9 # (2)
Registered: Sun Nov 03 07:19:11 UTC 2024 - Last Modified: Mon Aug 12 21:47:53 UTC 2024 - 42.7K bytes - Viewed (0) -
docs/bucket/notifications/README.md
```py #!/usr/bin/env python3 from __future__ import print_function import paho.mqtt.client as mqtt # This is the Subscriber def on_connect(client, userdata, flags, rc): print("Connected with result code "+str(rc)) # qos level is set to 1 client.subscribe("minio", 1) def on_message(client, userdata, msg): print(msg.payload)
Registered: Sun Nov 03 19:28:11 UTC 2024 - Last Modified: Thu Jan 18 07:03:17 UTC 2024 - 84K bytes - Viewed (0) -
docs/ja/docs/deployment/docker.md
from fastapi import FastAPI app = FastAPI() @app.get("/") def read_root(): return {"Hello": "World"} @app.get("/items/{item_id}") def read_item(item_id: int, q: Union[str, None] = None): return {"item_id": item_id, "q": q} ``` ### Dockerfile 同じプロジェクト・ディレクトリに`Dockerfile`というファイルを作成します: ```{ .dockerfile .annotate } # (1) FROM python:3.9 # (2)
Registered: Sun Nov 03 07:19:11 UTC 2024 - Last Modified: Mon Aug 12 21:47:53 UTC 2024 - 44.3K bytes - Viewed (0) -
doc/go_spec.html
The non-blank variable names on the left side of <code>:=</code> must be <a href="#Uniqueness_of_identifiers">unique</a>. </p> <pre> field1, offset := nextField(str, 0) field2, offset := nextField(str, offset) // redeclares offset x, y, x := 1, 2, 3 // illegal: x repeated on left side of := </pre> <p> Short variable declarations may appear only inside functions.
Registered: Tue Nov 05 11:13:11 UTC 2024 - Last Modified: Wed Oct 02 00:58:01 UTC 2024 - 282.5K bytes - Viewed (0) -
doc/go1.17_spec.html
Redeclaration does not introduce a new variable; it just assigns a new value to the original. </p> <pre> field1, offset := nextField(str, 0) field2, offset := nextField(str, offset) // redeclares offset a, a := 1, 2 // illegal: double declaration of a or no new variable if a was declared elsewhere </pre> <p>
Registered: Tue Nov 05 11:13:11 UTC 2024 - Last Modified: Thu Oct 10 18:25:45 UTC 2024 - 211.6K bytes - Viewed (0) -
src/main/webapp/js/admin/moment-with-locales.min.js.map
e","tmpLocale","relativeTimeRounding","roundingFunction","relativeTimeThreshold","threshold","limit","myMoment","HTML5_FMT","DATETIME_LOCAL","DATETIME_LOCAL_SECONDS","DATETIME_LOCAL_MS","TIME","TIME_SECONDS","TIME_MS","pluralForm","pluralize","f","str","plurals","months$1","weekdaysParseExact","pluralForm$1","pluralize$1","plurals$1","symbolMap","1","2","3","4","5","6","7","8","9","0","months$2","symbolMap$1","numberMap","١","٢","٣","٤","٥","٦","٧","٨","٩","٠","pluralForm$2","pluralize$2","plura...
Registered: Thu Oct 31 13:40:30 UTC 2024 - Last Modified: Sat Oct 26 01:49:09 UTC 2024 - 224.8K bytes - Viewed (0)