-
Notifications
You must be signed in to change notification settings - Fork 442
chore: update flask latest version to 3.1.1 #13680
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Conversation
|
Bootstrap import analysisComparison of import times between this PR and base. SummaryThe average import time from this PR is: 278 ± 4 ms. The average import time from base is: 277 ± 2 ms. The import time difference between this PR and base is: 0.3 ± 0.2 ms. The difference is not statistically significant (z = 1.98). Import time breakdownThe following import paths have grown:
|
BenchmarksBenchmark execution time: 2025-06-17 17:15:57 Comparing candidate commit e05be0f in PR branch Found 0 performance improvements and 2 performance regressions! Performance is the same for 506 metrics, 6 unstable metrics. scenario:iastaspects-format_map_aspect
scenario:iastaspectsospath-ospathsplitdrive_aspect
|
e05be0f
to
a7bd8d6
Compare
Pull request was closed
print(f"INFO: Excluding extension {ext.name}") | ||
continue |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@@ -164,27 +156,15 @@ def _llmobs_set_meta_tags_from_embedding(span: Span, kwargs: Dict[str, Any], res | |||
span._set_ctx_item(OUTPUT_VALUE, "[{} embedding(s) returned]".format(len(resp.data))) | |||
|
|||
@staticmethod | |||
def _extract_llmobs_metrics_tags(span: Span, resp: Any, span_kind: str) -> Dict[str, Any]: | |||
def _extract_llmobs_metrics_tags(span: Span, resp: Any) -> Dict[str, Any]: |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
🟠 Code Quality Violation
do not use Any, use a concrete type (...read more)
Use the Any
type very carefully. Most of the time, the Any
type is used because we do not know exactly what type is being used. If you want to specify that a value can be of any type, use object
instead of Any
.
Learn More
instance: Any, | ||
args: Sequence, | ||
kwargs: dict, | ||
vulnerability_type: VulnerabilityType, wrapped: Callable, instance: Any, args: Sequence, kwargs: dict |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
🟠 Code Quality Violation
do not use Any, use a concrete type (...read more)
Use the Any
type very carefully. Most of the time, the Any
type is used because we do not know exactly what type is being used. If you want to specify that a value can be of any type, use object
instead of Any
.
Update flask lockfiles and dependency package lockfiles.
This performs the following updates:
latest
. This will update flask and dependencies.latest
version of another package. This will update all such packages.Checklist
Reviewer Checklist