identity import UsernamePasswordCredential from kiota_authentication_azure. "app_owner_organization_id": lambda n : setattr(self, 'app_owner_organization_id', n.get_object_value(Guid)), Lambda x: JsonParseNode(x).get_object_value(factory), # type: ignoreįile "C:\Users\user\AppData\Roaming\Python\Python37\site-packages\msgraph\generated\models\service_principal.py", line 495, in "value": lambda n : setattr(self, 'value', n.get_collection_of_object_values(service_principal.ServicePrincipal)),įile "C:\Users\user\AppData\Roaming\Python\Python37\site-packages\kiota_serialization_json\json_parse_node.py", line 181, in get_collection_of_object_valuesįile "C:\Users\user\AppData\Roaming\Python\Python37\site-packages\kiota_serialization_json\json_parse_node.py", line 180, in async def get(url): async with session.get(url, sslFalse) as response: obj await response. We also disable SSL verification for that slight speed boost as well. In most cases that will be Reactor Netty, but you can also use Jetty Reactive HttpClient or Apache HttpComponents, or integrate others by building a custom connector. Finally we define our actual async function, which should look pretty familiar if you’re already used to requests. Result = root_node.get_object_value(model_type)įile "C:\Users\user\AppData\Roaming\Python\Python37\site-packages\kiota_serialization_json\json_parse_node.py", line 226, in get_object_valueįile "C:\Users\user\AppData\Roaming\Python\Python37\site-packages\kiota_serialization_json\json_parse_node.py", line 287, in _assign_field_valuesįile "C:\Users\user\AppData\Roaming\Python\Python37\site-packages\msgraph\generated\models\service_principal_collection_response.py", line 36, in The Spring WebClient API must be used on top of an existing asynchronous HTTP client library. Return await self.request_nd_async(request_info, service_principal_collection_response.ServicePrincipalCollectionResponse, error_mapping)įile "C:\Users\user\AppData\Roaming\Python\Python37\site-packages\kiota_http\httpx_request_adapter.py", line 122, in send_async Res = await er_rvice_principals.get()įile "C:\Users\user\AppData\Roaming\Python\Python37\site-packages\msgraph\generated\service_principals\service_principals_request_builder.py", line 95, in get Res = await graph.get_service_principals()įile "./tests/test_components/test_guid.py", line 27, in get_service_principals File "./tests/test_components/test_guid.py", line 36, in įile "C:\Program Files\Python37\lib\asyncio\runners.py", line 43, in runįile "C:\Program Files\Python37\lib\asyncio\base_events.py", line 587, in run_until_completeįile "./tests/test_components/test_guid.py", line 33, in run
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |