Alex
Alex
I'm getting this error when trying to use `classifier = KNNClassifier(extractors, dist='Hamming')` or `classifier.setDistanceMetric('Hamming')` ``` File "/usr/lib/pymodules/python2.7/SimpleCV/MachineLearning/KNNClassifier.py", line 220, in train self.mClassifier.distanceContructor = orange.ExamplesDistanceConstructor_Hamming(); AttributeError: 'NoneType' object has no attribute...
`SomeType.from_pydantic(...)` does not call resolvers of underlying types. Or probably I'm doing something wrong. 😄 ## Describe the Bug It's better explained as a test: ```python def test_from_pydantic_calls_underlying_resolvers(): class UserName(BaseModel):...
Python 3.9's builtin collections type hints do not work in pydantic types. Tested with list. ## Describe the Bug Here's the test to reproduce. Just changed line 219 in `tests/experimental/pydantic/test_basic.py`...
Currently it's not possible not to use pydantic mypy plugin while using strawberry mypy plugin and experimental pydantic types. It could be useful for users who do not want to...
**Problem** If I scan results of left join query where there are no joined rows, ScanStructs fails with errors like: `converting NULL to string is unsupported`. **To Reproduce** ```go type...
It would be nice to rename generic types by annotating them. E.g. with `typing.Annotated` like for arguments. My use case is to annotate generic types inside the union: ```python import...
I've recently encountered a bug when was trying to federate a service which contained `specifiedBy` directive. [It is in latest gql spec](https://spec.graphql.org/October2021/#sec--specifiedBy), but i've got an error: ``` Undefined directive...
I have some types, e.g.: ```graphql type Foo @boundary { id: ID! } type Bar @boundary { id: ID! } union FooOrBar = Foo | Bar type Baz @boundary {...
Add way of using pydantic model scalars without manually defining fields - just by using `strawberry.auto` ## Feature Request Type - [x] Alteration (enhancement/optimization) of existing feature(s) ## Description I...
Fix case when there is a nullable null value in array item: ```graphql type Gizmo { id: ID! color: String! } type Query { gizmos: [Gizmo]! } ``` ```json {...