We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
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
CalculatePoEScore c4codata.SellingPointValuation TypeInfo(namespace='c4codata', name='SellingPointValuation', is_collection=False) CalculateScore c4codata.StoreValuation TypeInfo(namespace='c4codata', name='StoreValuation', is_collection=False) CheckAppointmentByGroupwareID Collection(c4codata.Boolean) TypeInfo(namespace='c4codata', name='Boolean', is_collection=True) Traceback (most recent call last): File "C:/dev/PyOdataTest/pyodata_test.py", line 19, in my_service = pyodata.Client(SERVICE_URL, session) File "C:\dev\python-pyodata\pyodata\client.py", line 68, in new schema = pyodata.v2.model.MetadataBuilder(metadata, config=config).build() File "C:\dev\python-pyodata\pyodata\v2\model.py", line 2499, in build schema = Schema.from_etree(edm_schemas, self._config) File "C:\dev\python-pyodata\pyodata\v2\model.py", line 1139, in from_etree efn.return_type = schema.get_type(efn.return_type_info) File "C:\dev\python-pyodata\pyodata\v2\model.py", line 878, in get_type raise PyODataModelError( pyodata.exceptions.PyODataModelError: Neither primitive types nor types parsed from service metadata contain requested type Boolean
The text was updated successfully, but these errors were encountered:
It seems to me that Edm.Boolean was introduced in OData V4 which we do not support yet. Please, attached $metadata to make sure the service is V2.
Sorry, something went wrong.
Since Edm.Boolean is V4 only and no update of the issue for a long time, I would consider this as duplicate for enhancement #39
No branches or pull requests
CalculatePoEScore c4codata.SellingPointValuation TypeInfo(namespace='c4codata', name='SellingPointValuation', is_collection=False)
CalculateScore c4codata.StoreValuation TypeInfo(namespace='c4codata', name='StoreValuation', is_collection=False)
CheckAppointmentByGroupwareID Collection(c4codata.Boolean) TypeInfo(namespace='c4codata', name='Boolean', is_collection=True)
Traceback (most recent call last):
File "C:/dev/PyOdataTest/pyodata_test.py", line 19, in
my_service = pyodata.Client(SERVICE_URL, session)
File "C:\dev\python-pyodata\pyodata\client.py", line 68, in new
schema = pyodata.v2.model.MetadataBuilder(metadata, config=config).build()
File "C:\dev\python-pyodata\pyodata\v2\model.py", line 2499, in build
schema = Schema.from_etree(edm_schemas, self._config)
File "C:\dev\python-pyodata\pyodata\v2\model.py", line 1139, in from_etree
efn.return_type = schema.get_type(efn.return_type_info)
File "C:\dev\python-pyodata\pyodata\v2\model.py", line 878, in get_type
raise PyODataModelError(
pyodata.exceptions.PyODataModelError: Neither primitive types nor types parsed from service metadata contain requested type Boolean
The text was updated successfully, but these errors were encountered: