- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 278 for generic (0.5 sec)
-
cmd/generic-handlers.go
// it under the terms of the GNU Affero General Public License as published by // the Free Software Foundation, either version 3 of the License, or // (at your option) any later version. // // This program is distributed in the hope that it will be useful // but WITHOUT ANY WARRANTY; without even the implied warranty of // MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the // GNU Affero General Public License for more details. //
Go - Registered: Sun Apr 21 19:28:08 GMT 2024 - Last Modified: Thu Apr 11 01:08:52 GMT 2024 - 20.7K bytes - Viewed (0) -
tests/test_generic_parameterless_depends.py
@app.get("/a") async def a(dep: Dep[A]): return {"cls": dep.__class__.__name__} @app.get("/b") async def b(dep: Dep[B]): return {"cls": dep.__class__.__name__} client = TestClient(app) def test_generic_parameterless_depends(): response = client.get("/a") assert response.status_code == 200, response.text assert response.json() == {"cls": "A"} response = client.get("/b")
Python - Registered: Sun Apr 21 07:19:11 GMT 2024 - Last Modified: Tue Apr 02 02:52:56 GMT 2024 - 1.8K bytes - Viewed (0) -
cmd/generic-handlers_test.go
// it under the terms of the GNU Affero General Public License as published by // the Free Software Foundation, either version 3 of the License, or // (at your option) any later version. // // This program is distributed in the hope that it will be useful // but WITHOUT ANY WARRANTY; without even the implied warranty of // MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the // GNU Affero General Public License for more details. //
Go - Registered: Sun Apr 21 19:28:08 GMT 2024 - Last Modified: Thu Mar 28 17:44:56 GMT 2024 - 5.4K bytes - Viewed (0) -
analysis/analysis-api-fe10/src/org/jetbrains/kotlin/analysis/api/descriptors/components/KtFe10PsiTypeProvider.kt
return when (this) { KtTypeMappingMode.DEFAULT -> TypeMappingMode.DEFAULT KtTypeMappingMode.DEFAULT_UAST -> TypeMappingMode.DEFAULT_UAST KtTypeMappingMode.GENERIC_ARGUMENT -> TypeMappingMode.GENERIC_ARGUMENT KtTypeMappingMode.SUPER_TYPE -> TypeMappingMode.SUPER_TYPE KtTypeMappingMode.SUPER_TYPE_KOTLIN_COLLECTIONS_AS_IS -> TypeMappingMode.SUPER_TYPE_KOTLIN_COLLECTIONS_AS_IS
Plain Text - Registered: Fri Apr 26 08:18:10 GMT 2024 - Last Modified: Thu Mar 28 16:10:07 GMT 2024 - 6.4K bytes - Viewed (0) -
docs/uk/docs/python-types.md
``` === "Python 3.10 і вище" ```Python hl_lines="1" {!> ../../../docs_src/python_types/tutorial009_py310.py!} ``` #### Generic типи Ці типи, які приймають параметри типу у квадратних дужках, називаються **Generic types** or **Generics**, наприклад: === "Python 3.8 і вище" * `List` * `Tuple` * `Set` * `Dict` * `Union` * `Optional`
Plain Text - Registered: Sun Apr 21 07:19:11 GMT 2024 - Last Modified: Thu Apr 18 19:53:19 GMT 2024 - 19.7K bytes - Viewed (0) -
docs/tr/docs/python-types.md
#### Generic tipler Köşeli parantez içinde tip parametreleri alan bu türler, örneğin: * `List` * `Tuple` * `Set` * `Dict` * `Optional` * ...and others. **Generic types** yada **Generics** olarak adlandırılır. ### Tip olarak Sınıflar Bir değişkenin tipini bir sınıf ile bildirebilirsiniz.
Plain Text - Registered: Sun Apr 21 07:19:11 GMT 2024 - Last Modified: Thu Apr 18 19:53:19 GMT 2024 - 9.7K bytes - Viewed (0) -
analysis/analysis-api-fir/src/org/jetbrains/kotlin/analysis/api/fir/components/KtFirPsiTypeProvider.kt
return when (this) { KtTypeMappingMode.DEFAULT -> TypeMappingMode.DEFAULT KtTypeMappingMode.DEFAULT_UAST -> TypeMappingMode.DEFAULT_UAST KtTypeMappingMode.GENERIC_ARGUMENT -> TypeMappingMode.GENERIC_ARGUMENT KtTypeMappingMode.SUPER_TYPE -> TypeMappingMode.SUPER_TYPE KtTypeMappingMode.SUPER_TYPE_KOTLIN_COLLECTIONS_AS_IS -> TypeMappingMode.SUPER_TYPE_KOTLIN_COLLECTIONS_AS_IS
Plain Text - Registered: Fri Apr 26 08:18:10 GMT 2024 - Last Modified: Fri Apr 12 13:29:57 GMT 2024 - 18.6K bytes - Viewed (0) -
fastapi/exceptions.py
RequestErrorModel: Type[BaseModel] = create_model("Request") WebSocketErrorModel: Type[BaseModel] = create_model("WebSocket") class FastAPIError(RuntimeError): """ A generic, FastAPI-specific error. """ class ValidationException(Exception): def __init__(self, errors: Sequence[Any]) -> None: self._errors = errors def errors(self) -> Sequence[Any]:
Python - Registered: Sun Apr 21 07:19:11 GMT 2024 - Last Modified: Tue Apr 02 02:48:51 GMT 2024 - 4.9K bytes - Viewed (0) -
docs/en/docs/python-types.md
``` And then you won't have to worry about names like `Optional` and `Union`. 😎 #### Generic types These types that take type parameters in square brackets are called **Generic types** or **Generics**, for example: === "Python 3.10+" You can use the same builtin types as generics (with square brackets and types inside): * `list` * `tuple` * `set` * `dict`
Plain Text - Registered: Sun Apr 21 07:19:11 GMT 2024 - Last Modified: Thu Apr 18 19:53:19 GMT 2024 - 17K bytes - Viewed (0) -
internal/crypto/error.go
// along with this program. If not, see <http://www.gnu.org/licenses/>. package crypto import ( "errors" "fmt" ) // Error is the generic type for any error happening during decrypting // an object. It indicates that the object itself or its metadata was // modified accidentally or maliciously. type Error struct { msg string cause error }
Go - Registered: Sun Apr 21 19:28:08 GMT 2024 - Last Modified: Thu Mar 28 17:44:56 GMT 2024 - 4.4K bytes - Viewed (0)