Esempio n. 1
0
        def _query_implementation(cls, cb, **kwargs):
            """
            Raises an error, as Profiles cannot be queried directly.

            Args:
                cb (BaseAPI): Reference to API object used to communicate with the server.
                **kwargs (dict): Not used, retained for compatibility.

            Raises:
                ApiError: Always.
            """
            raise NonQueryableModel("Profiles cannot be queried directly")
Esempio n. 2
0
 def _query_implementation(self, cb, **kwargs):
     raise NonQueryableModel("IOC does not support querying")