|
81 | 81 | { |
82 | 82 | "data": { |
83 | 83 | "text/plain": [ |
84 | | - "MetaDataDefinition(oneof_schema_1_validator=None, oneof_schema_2_validator=None, oneof_schema_3_validator=None, oneof_schema_4_validator=None, oneof_schema_5_validator=None, oneof_schema_6_validator=None, actual_instance=OgrMetaData(loading_info=OgrSourceDataset(attribute_query=None, cache_ttl=None, columns=OgrSourceColumnSpec(bool=None, datetime=None, var_float=[], format_specifics=None, int=[], rename=None, text=[], x='', y=''), data_type=<VectorDataType.MULTIPOLYGON: 'MultiPolygon'>, default_geometry=None, file_name='vector/data/germany_polygon.gpkg', force_ogr_spatial_filter=None, force_ogr_time_filter=None, layer_name='test_germany', on_error=<OgrSourceErrorSpec.ABORT: 'abort'>, sql_query=None, time=OgrSourceDatasetTimeType(oneof_schema_1_validator=None, oneof_schema_2_validator=None, oneof_schema_3_validator=None, oneof_schema_4_validator=None, actual_instance=OgrSourceDatasetTimeTypeNone(type='none'), one_of_schemas=typing.Literal['OgrSourceDatasetTimeTypeNone', 'OgrSourceDatasetTimeTypeStart', 'OgrSourceDatasetTimeTypeStartDuration', 'OgrSourceDatasetTimeTypeStartEnd'], discriminator_value_class_map={})), result_descriptor=VectorResultDescriptor(bbox=BoundingBox2D(lower_left_coordinate=Coordinate2D(x=5.85249, y=47.271121), upper_right_coordinate=Coordinate2D(x=15.022059, y=55.065334)), columns={}, data_type=<VectorDataType.MULTIPOLYGON: 'MultiPolygon'>, spatial_reference='EPSG:4326', time=None), type='OgrMetaData'), one_of_schemas=typing.Literal['GdalMetaDataList', 'GdalMetaDataRegular', 'GdalMetaDataStatic', 'GdalMetadataNetCdfCf', 'MockMetaData', 'OgrMetaData'], discriminator_value_class_map={})" |
| 84 | + "MetaDataDefinition(oneof_schema_1_validator=None, oneof_schema_2_validator=None, oneof_schema_3_validator=None, oneof_schema_4_validator=None, oneof_schema_5_validator=None, oneof_schema_6_validator=None, actual_instance=OgrMetaData(loading_info=OgrSourceDataset(attribute_query=None, cache_ttl=None, columns=OgrSourceColumnSpec(bool=None, datetime=None, float=[], format_specifics=None, int=[], rename=None, text=[], x='', y=''), data_type=<VectorDataType.MULTIPOLYGON: 'MultiPolygon'>, default_geometry=None, file_name='vector/data/germany_polygon.gpkg', force_ogr_spatial_filter=None, force_ogr_time_filter=None, layer_name='test_germany', on_error=<OgrSourceErrorSpec.ABORT: 'abort'>, sql_query=None, time=OgrSourceDatasetTimeType(oneof_schema_1_validator=None, oneof_schema_2_validator=None, oneof_schema_3_validator=None, oneof_schema_4_validator=None, actual_instance=OgrSourceDatasetTimeTypeNone(type='none'), one_of_schemas=['OgrSourceDatasetTimeTypeNone', 'OgrSourceDatasetTimeTypeStart', 'OgrSourceDatasetTimeTypeStartDuration', 'OgrSourceDatasetTimeTypeStartEnd'], discriminator_value_class_map={})), result_descriptor=VectorResultDescriptor(bbox=BoundingBox2D(lower_left_coordinate=Coordinate2D(x=5.85249, y=47.271121), upper_right_coordinate=Coordinate2D(x=15.022059, y=55.065334)), columns={}, data_type=<VectorDataType.MULTIPOLYGON: 'MultiPolygon'>, spatial_reference='EPSG:4326', time=None), type='OgrMetaData'), one_of_schemas=['GdalMetaDataList', 'GdalMetaDataRegular', 'GdalMetaDataStatic', 'GdalMetadataNetCdfCf', 'MockMetaData', 'OgrMetaData'], discriminator_value_class_map={})" |
85 | 85 | ] |
86 | 86 | }, |
87 | 87 | "execution_count": 4, |
|
174 | 174 | "execution_count": 6, |
175 | 175 | "metadata": {}, |
176 | 176 | "outputs": [ |
177 | | - { |
178 | | - "name": "stderr", |
179 | | - "output_type": "stream", |
180 | | - "text": [ |
181 | | - "/home/kremerl/geoengine-python/env/lib/python3.10/site-packages/pydantic/main.py:347: UserWarning: Pydantic serializer warnings:\n", |
182 | | - " Expected `list[str]` but got `_LiteralGenericAlias` - serialized value may not be as expected\n", |
183 | | - " Expected `Union[definition-ref, definition-ref, definition-ref, definition-ref, definition-ref, definition-ref]` but got `OgrMetaData` - serialized value may not be as expected\n", |
184 | | - " Expected `list[str]` but got `_LiteralGenericAlias` - serialized value may not be as expected\n", |
185 | | - " Expected `list[str]` but got `_LiteralGenericAlias` - serialized value may not be as expected\n", |
186 | | - " return self.__pydantic_serializer__.to_python(\n", |
187 | | - "/home/kremerl/geoengine-python/env/lib/python3.10/site-packages/pydantic/main.py:347: UserWarning: Pydantic serializer warnings:\n", |
188 | | - " Expected `Union[definition-ref, definition-ref, definition-ref, definition-ref, definition-ref, definition-ref]` but got `OgrMetaData` - serialized value may not be as expected\n", |
189 | | - " Expected `list[str]` but got `_LiteralGenericAlias` - serialized value may not be as expected\n", |
190 | | - " Expected `list[str]` but got `_LiteralGenericAlias` - serialized value may not be as expected\n", |
191 | | - " return self.__pydantic_serializer__.to_python(\n", |
192 | | - "/home/kremerl/geoengine-python/env/lib/python3.10/site-packages/pydantic/main.py:347: UserWarning: Pydantic serializer warnings:\n", |
193 | | - " Expected `list[str]` but got `_LiteralGenericAlias` - serialized value may not be as expected\n", |
194 | | - " return self.__pydantic_serializer__.to_python(\n" |
195 | | - ] |
196 | | - }, |
197 | 177 | { |
198 | 178 | "data": { |
199 | 179 | "text/plain": [ |
|
348 | 328 | "name": "stdout", |
349 | 329 | "output_type": "stream", |
350 | 330 | "text": [ |
351 | | - "Operator: Operator: UnknownDatasetName\n" |
| 331 | + "UnknownDatasetName: Dataset name 'germany_polygon' does not exist\n" |
352 | 332 | ] |
353 | 333 | } |
354 | 334 | ], |
|
0 commit comments