-
On Python 3.9:
```python
from __future__ import annotations
def f(x: None | str) -> None:
pass
```
gives
```
File "/home/neil/src/flax/a.py", line 2, in : unsupported operand type(s) for |…
-
### Link to minimal reproducible example
https://appkit-lab.reown.com/library/solana/
### Summary
The error drops with some unclear frequency
`Uncaught (in promise) Error: failed to get balance o…
-
This is surprising:
```julia
julia> union([1,2,3], Set([4,5,6]))
6-element Array{Int64,1}:
1
2
3
4
5
6
julia> union(Set([4,5,6]), [1,2,3])
Set([4, 2, 3, 5, 6, 1])
```
In the pro…
-
Q# needs sum types (tagged unions, discriminated unions, Rust-style enums, etc.). See microsoft/qsharp-language#51, microsoft/qsharp-compiler#406.
-
**Describe the bug**
When generating TypeGraphQL, using a union type, the type passed to `@TypeGraphQL.Field` fails with the error: `'Step' only refers to a type, but is being used as a value he…
-
Hello! I was reading through the working/union-types/nominative-union-types.md proposal. Interesting stuff, but it got me wondering:
Would we be able to do the following?
```dart
union A implem…
-
When trying to return union type of custom types, the schema generator fails.
## Describe the Bug
Two custom types declared, and one that contains the union of them.
```python
T = TypeVar("T…
-
**Description:**
The Ballerina GraphQL tool generates the schema from the Ballerina service. This generated schema file is not ordered properly. Ideally, we should order the types so the schema loo…
-
As pointed out by @Slyces in https://github.com/astral-sh/ruff/pull/13571#discussion_r1788003539
Copying my comments from there:
I think the logic here is that when we have an actual `bool` type…
-
### Initial Checks
- [X] I confirm that I'm using Pydantic V2
### Description
Fields with annotated types have unexpected different `FieldInfo` when the annotated type is directly used versus…