- Sort Score
- Result 10 results
- Languages All
Results 11 - 17 of 17 for rubyclass (0.15 sec)
-
docs/en/docs/tutorial/response-model.md
This simple case is handled automatically by FastAPI because the return type annotation is the class (or a subclass) of `Response`. And tools will also be happy because both `RedirectResponse` and `JSONResponse` are subclasses of `Response`, so the type annotation is correct. ### Annotate a Response Subclass You can also use a subclass of `Response` in the type annotation: ```Python hl_lines="8-9"
Plain Text - Registered: Sun May 05 07:19:11 GMT 2024 - Last Modified: Thu Apr 18 19:53:19 GMT 2024 - 17.9K bytes - Viewed (0) -
analysis/analysis-api-fe10/src/org/jetbrains/kotlin/analysis/api/descriptors/components/KtFe10SymbolDeclarationOverridesProvider.kt
} return overriddenDescriptors } override fun isSubClassOf(subClass: KtClassOrObjectSymbol, superClass: KtClassOrObjectSymbol): Boolean { if (subClass == superClass) return false val subClassDescriptor = getSymbolDescriptor(subClass) as? ClassDescriptor ?: return false val superClassDescriptor = getSymbolDescriptor(superClass) as? ClassDescriptor ?: return false
Plain Text - Registered: Fri Apr 26 08:18:10 GMT 2024 - Last Modified: Wed Mar 13 16:31:41 GMT 2024 - 4.6K bytes - Viewed (0) -
analysis/analysis-api-fir/src/org/jetbrains/kotlin/analysis/api/fir/components/KtFirSubstitutorProvider.kt
) : KtSubstitutorProvider(), KtFirAnalysisSessionComponent { override fun createSubstitutor( subClass: KtClassOrObjectSymbol, superClass: KtClassOrObjectSymbol, ): KtSubstitutor? { if (subClass == superClass) return KtSubstitutor.Empty(token) val baseFirSymbol = subClass.firSymbol val superFirSymbol = superClass.firSymbol
Plain Text - Registered: Fri Apr 26 08:18:10 GMT 2024 - Last Modified: Fri Oct 06 11:39:33 GMT 2023 - 3.1K bytes - Viewed (0) -
docs/features/events.md
* The performance of these calls on the underlying network. If the network’s performance isn’t sufficient, you need to either improve the network or use less of it. ### EventListener
Plain Text - Registered: Fri May 03 11:42:14 GMT 2024 - Last Modified: Sun Feb 06 02:19:09 GMT 2022 - 7.7K bytes - Viewed (0) -
analysis/analysis-api-fir/src/org/jetbrains/kotlin/analysis/api/fir/components/KtFirReferenceShortener.kt
override val element: KtThisExpression, ) : ElementToShorten() { override val nameToImport: FqName? = null override val importAllInParent: Boolean = false } /** * N.B. Does not subclass [ElementToShorten] because currently * there's no reason to do that. */ private class ShortenKDocQualifier( val element: KDocName, )
Plain Text - Registered: Fri Apr 26 08:18:10 GMT 2024 - Last Modified: Thu Apr 25 18:51:33 GMT 2024 - 69.5K bytes - Viewed (0) -
analysis/analysis-api-fir/src/org/jetbrains/kotlin/analysis/api/fir/components/KtFirImportOptimizer.kt
* no separate symbol for that case. * * Java statics present a similar case - they can be imported not only from the declaring class, * but also from any subclass. */ private fun FirQualifiedAccessExpression.importableNameForImplicitlyDispatchedCallable(): FqName? { val dispatchReceiver = dispatchReceiver if (
Plain Text - Registered: Fri Apr 26 08:18:10 GMT 2024 - Last Modified: Fri Apr 19 11:06:47 GMT 2024 - 24.2K bytes - Viewed (0) -
docs/en/docs/release-notes.md
avoids/fixes a potential security issue: as the returned object is passed directly to Pydantic, if the returned object was a subclass of the `response_model` (e.g. you return a `UserInDB` that inherits from `User` but contains extra fields, like `hashed_password`, and `User` is used in the `response_model`), it would still pass the validation (because `UserInDB` is a subclass of `User`) and the object would be returned as-is, including the `hashed_password`. To fix this, the declared `response_model`...
Plain Text - Registered: Sun May 05 07:19:11 GMT 2024 - Last Modified: Fri May 03 23:25:42 GMT 2024 - 388.1K bytes - Viewed (1)