- Sort Score
- Num 10 results
- Language All
Results 11 - 20 of 25 for isIn (0.06 seconds)
The search processing time has exceeded the limit. The displayed results may be partial.
-
okhttp/src/jvmTest/kotlin/okhttp3/CallTest.kt
import assertk.assertions.hasSize import assertk.assertions.index import assertk.assertions.isCloseTo import assertk.assertions.isEqualTo import assertk.assertions.isFalse import assertk.assertions.isIn import assertk.assertions.isLessThan import assertk.assertions.isNotEmpty import assertk.assertions.isNotNull import assertk.assertions.isNotSameAs import assertk.assertions.isNull import assertk.assertions.isTrue
Created: Fri Dec 26 11:42:13 GMT 2025 - Last Modified: Tue Nov 04 19:13:52 GMT 2025 - 147.4K bytes - Click Count (0) -
docs_src/query_params_str_validations/tutorial015_an_py310.py
app = FastAPI() data = { "isbn-9781529046137": "The Hitchhiker's Guide to the Galaxy", "imdb-tt0371724": "The Hitchhiker's Guide to the Galaxy", "isbn-9781439512982": "Isaac Asimov: The Complete Stories, Vol. 2", } def check_valid_id(id: str): if not id.startswith(("isbn-", "imdb-")): raise ValueError('Invalid ID format, it must start with "isbn-" or "imdb-"') return id
Created: Sun Dec 28 07:19:09 GMT 2025 - Last Modified: Sat Mar 01 22:02:35 GMT 2025 - 768 bytes - Click Count (0) -
docs_src/query_params_str_validations/tutorial015_an_py39.py
app = FastAPI() data = { "isbn-9781529046137": "The Hitchhiker's Guide to the Galaxy", "imdb-tt0371724": "The Hitchhiker's Guide to the Galaxy", "isbn-9781439512982": "Isaac Asimov: The Complete Stories, Vol. 2", } def check_valid_id(id: str): if not id.startswith(("isbn-", "imdb-")): raise ValueError('Invalid ID format, it must start with "isbn-" or "imdb-"') return id
Created: Sun Dec 28 07:19:09 GMT 2025 - Last Modified: Sat Mar 01 22:02:35 GMT 2025 - 781 bytes - Click Count (0) -
tests/test_tutorial/test_query_params_str_validations/test_tutorial015.py
def test_get_item(client: TestClient): response = client.get("/items?id=isbn-9781529046137") assert response.status_code == 200, response.text assert response.json() == { "id": "isbn-9781529046137", "name": "The Hitchhiker's Guide to the Galaxy", } def test_get_item_does_not_exist(client: TestClient): response = client.get("/items?id=isbn-nope") assert response.status_code == 200, response.text
Created: Sun Dec 28 07:19:09 GMT 2025 - Last Modified: Sat Dec 20 15:55:38 GMT 2025 - 5K bytes - Click Count (0) -
docs/en/docs/tutorial/query-params-str-validations.md
/// For example, this custom validator checks that the item ID starts with `isbn-` for an <abbr title="ISBN means International Standard Book Number">ISBN</abbr> book number or with `imdb-` for an <abbr title="IMDB (Internet Movie Database) is a website with information about movies">IMDB</abbr> movie URL ID:
Created: Sun Dec 28 07:19:09 GMT 2025 - Last Modified: Sat Dec 20 15:55:38 GMT 2025 - 16.7K bytes - Click Count (0) -
docs/ru/docs/tutorial/query-params-str-validations.md
/// Например, эта кастомная проверка убеждается, что ID элемента начинается с `isbn-` для номера книги <abbr title="ISBN означает International Standard Book Number – Международный стандартный книжный номер">ISBN</abbr> или с `imdb-` для ID URL фильма на <abbr title="IMDB (Internet Movie Database) — веб‑сайт с информацией о фильмах">IMDB</abbr>:
Created: Sun Dec 28 07:19:09 GMT 2025 - Last Modified: Wed Dec 17 20:41:43 GMT 2025 - 26.2K bytes - Click Count (0) -
docs/de/docs/tutorial/query-params-str-validations.md
/// Zum Beispiel überprüft dieser benutzerdefinierte Validator, ob die Artikel-ID mit `isbn-` für eine <abbr title="ISBN bedeutet Internationale Standardbuchnummer">ISBN</abbr>-Buchnummer oder mit `imdb-` für eine <abbr title="IMDB (Internet Movie Database) ist eine Website mit Informationen über Filme">IMDB</abbr>-Film-URL-ID beginnt:
Created: Sun Dec 28 07:19:09 GMT 2025 - Last Modified: Wed Dec 24 10:28:19 GMT 2025 - 19.1K bytes - Click Count (0) -
docs/pt/docs/tutorial/query-params-str-validations.md
/// Por exemplo, este validador personalizado verifica se o ID do item começa com `isbn-` para um número de livro <abbr title="ISBN significa Número Padrão Internacional de Livro">ISBN</abbr> ou com `imdb-` para um ID de URL de filme <abbr title="IMDB (Internet Movie Database) é um site com informações sobre filmes">IMDB</abbr>:
Created: Sun Dec 28 07:19:09 GMT 2025 - Last Modified: Wed Dec 17 20:41:43 GMT 2025 - 18.2K bytes - Click Count (0) -
cmd/admin-handlers-idp-ldap.go
isDN := globalIAMSys.LDAPConfig.ParsesAsDN(targetUser) opts.claims[ldapUserN] = targetUser // simple username var lookupResult *xldap.DNSearchResult lookupResult, targetGroups, err = globalIAMSys.LDAPConfig.LookupUserDN(targetUser) if err != nil { // if not found, check if DN if strings.Contains(err.Error(), "User DN not found for:") { if isDN { // warn user that DNs are not allowed
Created: Sun Dec 28 19:28:13 GMT 2025 - Last Modified: Fri Aug 08 02:46:04 GMT 2025 - 19.2K bytes - Click Count (0) -
docs/es/docs/tutorial/query-params-str-validations.md
/// Por ejemplo, este validador personalizado comprueba que el ID del ítem empiece con `isbn-` para un número de libro <abbr title="International Standard Book Number – Número Estándar Internacional de Libro">ISBN</abbr> o con `imdb-` para un ID de URL de película de <abbr title="IMDB (Internet Movie Database) es un sitio web con información sobre películas">IMDB</abbr>:
Created: Sun Dec 28 07:19:09 GMT 2025 - Last Modified: Wed Dec 17 20:41:43 GMT 2025 - 18.4K bytes - Click Count (0)