Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 1 - 7 of 7 for finally (0.06 seconds)

  1. docs/en/docs/release-notes.md

    ```Python
    async def do_something():
        try:
            yield something
        finally:
            some_cleanup()
    ```
    
    ...that way the `finally` block is run regardless of any exception that might happen.
    
    ### Features
    
    Created: Sun Dec 28 07:19:09 GMT 2025
    - Last Modified: Sat Dec 27 19:06:15 GMT 2025
    - 586.7K bytes
    - Click Count (0)
  2. build-logic/binary-compatibility/src/main/groovy/gradlebuild/binarycompatibility/AcceptedViolationsProvider.groovy

        Map<String, String> get() {
            if (acceptedViolations == null) {
                acceptedViolations = AcceptedApiChanges.parse(
                    acceptedViolationsDir.listFiles()
                        .findAll { it.name.endsWith(".json") }
                        .collect { it.text }
                ).toAcceptedChangesMap()
            }
            return acceptedViolations
        }
    Created: Wed Dec 31 11:36:14 GMT 2025
    - Last Modified: Tue Dec 30 10:14:25 GMT 2025
    - 1.3K bytes
    - Click Count (0)
  3. build-logic/binary-compatibility/src/main/groovy/gradlebuild/binarycompatibility/rules/AbstractGradleViolationRule.groovy

    @CompileStatic
    abstract class AbstractGradleViolationRule extends AbstractContextAwareViolationRule {
    
        private final Map<ApiChange, String> acceptedApiChanges
        private final File mainApiChangesJsonFile
        private final File projectRootDir
    
        AbstractGradleViolationRule(Map<String, Object> params) {
    Created: Wed Dec 31 11:36:14 GMT 2025
    - Last Modified: Tue Dec 30 10:14:25 GMT 2025
    - 10.5K bytes
    - Click Count (0)
  4. fastapi/utils.py

            return True
        current_status_code = int(status_code)
        return not (current_status_code < 200 or current_status_code in {204, 205, 304})
    
    
    def get_path_param_names(path: str) -> set[str]:
        return set(re.findall("{(.*?)}", path))
    
    
    _invalid_args_message = (
        "Invalid args for response field! Hint: "
        "check that {type_} is a valid Pydantic field type. "
    Created: Sun Dec 28 07:19:09 GMT 2025
    - Last Modified: Sat Dec 27 12:54:56 GMT 2025
    - 5.1K bytes
    - Click Count (0)
  5. .teamcity/src/main/kotlin/common/VersionedSettingsBranch.kt

                else -> "promoteMilestone"
            }
    
        fun promoteFinalReleaseTaskName(): String =
            when {
                isMaster -> throw UnsupportedOperationException("No final release job on master branch")
                isRelease -> "promoteFinalRelease"
                else -> "promoteFinalBackportRelease"
            }
    
        private fun nightlyTaskName(prefix: String): String =
            when {
    Created: Wed Dec 31 11:36:14 GMT 2025
    - Last Modified: Mon Dec 29 08:57:18 GMT 2025
    - 2.5K bytes
    - Click Count (0)
  6. build-logic/binary-compatibility/src/main/groovy/gradlebuild/binarycompatibility/rules/AcceptedRegressionsRuleSetup.java

    import java.util.Collections;
    import java.util.HashSet;
    import java.util.Map;
    import java.util.Set;
    
    public class AcceptedRegressionsRuleSetup implements SetupRule {
    
        private final Set<ApiChange> acceptedApiChanges;
    
        public AcceptedRegressionsRuleSetup(Map<String, Object> params) {
            AcceptedViolationsProvider acceptedApiChanges = (AcceptedViolationsProvider) params.get("acceptedApiChanges");
    Created: Wed Dec 31 11:36:14 GMT 2025
    - Last Modified: Tue Dec 30 10:14:25 GMT 2025
    - 1.9K bytes
    - Click Count (0)
  7. scripts/translate.py

            «««
            /// details | Vista previa
            »»»
    
    
    ### Tab blocks
    
    There are special blocks surrounded by four slashes («////»). They mark text, which will be rendered as part of a tab in the final document. The scheme is:
    
        //// tab | {tab title}
        {tab content, may span many lines}
        ////
    
    Created: Sun Dec 28 07:19:09 GMT 2025
    - Last Modified: Sat Dec 27 19:05:53 GMT 2025
    - 34.1K bytes
    - Click Count (0)
Back to Top