Skip to content

Commit

Permalink
Merge remote-tracking branch 'origin/main' into andreas/nicer-time-ra…
Browse files Browse the repository at this point in the history
…nge-api
  • Loading branch information
Wumpf committed May 8, 2024
2 parents 810a9e0 + cf9904b commit a1d40e3
Show file tree
Hide file tree
Showing 3 changed files with 9 additions and 1 deletion.
7 changes: 7 additions & 0 deletions crates/re_types_builder/src/codegen/python/mod.rs
Original file line number Diff line number Diff line change
Expand Up @@ -2089,6 +2089,13 @@ return pa.UnionArray.from_buffers(
.sorted() // Make order not dependent on hash shenanigans (also looks nicer often).
.filter(|typename| !typename.contains('[')) // If we keep these we unfortunately get: `TypeError: Subscripted generics cannot be used with class and instance checks`
.filter(|typename| !typename.ends_with("Like")) // `xLike` types are union types and checking those is not supported until Python 3.10.
.map(|typename| {
if typename == "None" {
"type(None)".to_owned() // `NoneType` requires Python 3.10.
} else {
typename
}
})
.join(", ");

let batch_type_imports = quote_local_batch_type_imports(&obj.fields);
Expand Down
1 change: 1 addition & 0 deletions lychee.toml
Original file line number Diff line number Diff line change
Expand Up @@ -109,6 +109,7 @@ exclude = [

# Needs authentication
'https://edge.meilisearch.com',
'https://eu.posthog.com/project/', # Requires to be logged in on PostHog.

# Temporarily down or not accessible.
'https://cs.nyu.edu/~silberman/datasets/nyu_depth_v2.html', # Nyud links are down every now and then.
Expand Down
2 changes: 1 addition & 1 deletion rerun_py/rerun_sdk/rerun/datatypes/time_range_boundary.py

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

0 comments on commit a1d40e3

Please sign in to comment.