mr-palindrome
NNovu
•Created by mr-palindrome on 10/8/2023 in #💬│support
Adding Missing Method for Environments in python SDK
Hey had a small convo with ryshu. The issue has been resolved!
36 replies
NNovu
•Created by mr-palindrome on 10/8/2023 in #💬│support
Adding Missing Method for Environments in python SDK
I have shared more details here
36 replies
NNovu
•Created by mr-palindrome on 10/8/2023 in #💬│support
Adding Missing Method for Environments in python SDK
The api response format for the sample response which is used in test is different from the response which is returned by the actual API endpoint.
36 replies
NNovu
•Created by mr-palindrome on 10/8/2023 in #💬│support
Adding Missing Method for Environments in python SDK
Yeah right!
36 replies
NNovu
•Created by mr-palindrome on 10/8/2023 in #💬│support
Adding Missing Method for Environments in python SDK
Hey @unicodeveloper any update on this! Or else I can raise a PR handling this condition/exception!
36 replies
NNovu
•Created by mr-palindrome on 10/8/2023 in #💬│support
Adding Missing Method for Environments in python SDK
And the response format also matched with the get api key API and its sample's response format. But the sample response for regenerate api key has a different format!
36 replies
NNovu
•Created by mr-palindrome on 10/8/2023 in #💬│support
Adding Missing Method for Environments in python SDK
I verified the actual api, it is giving response in the mentioned doc format only. But the sample is giving a different response format!
36 replies
NNovu
•Created by mr-palindrome on 10/8/2023 in #💬│support
Adding Missing Method for Environments in python SDK
And also it is returning the same API key after regenerating in the sample!
36 replies
NNovu
•Created by mr-palindrome on 10/8/2023 in #💬│support
Adding Missing Method for Environments in python SDK
the data which contains the key and the user id needs to be a list of dictionaries but in the sample it is a single dictionary!
36 replies
NNovu
•Created by mr-palindrome on 10/8/2023 in #💬│support
Adding Missing Method for Environments in python SDK
Hey @unicodeveloper I guess there is some issue with the sample regenerate endpoint. As the response which needs to be returned from the regenerate endpoint is different from what is mentioned in the document.
While performing test the testcase is getting continuously failed as the expected response would be in the following format:
But in the test case the sample url and api key getting following as response format:
Can you please verify this from your end!
36 replies
NNovu
•Created by mr-palindrome on 10/8/2023 in #💬│support
Adding Missing Method for Environments in python SDK
okay.. thanks for the idea!
36 replies
NNovu
•Created by mr-palindrome on 10/8/2023 in #💬│support
Adding Missing Method for Environments in python SDK
Okay thank you!
BTW I am also facing issue in writing the test case for the regenerate method as after regenerating the api key is changing!
Any idea how can I tackle that?
36 replies
NNovu
•Created by mr-palindrome on 10/8/2023 in #💬│support
Adding Missing Method for Environments in python SDK
36 replies
NNovu
•Created by mr-palindrome on 10/8/2023 in #💬│support
Adding Missing Method for Environments in python SDK
Thanks for the update🙂
36 replies
NNovu
•Created by mr-palindrome on 10/8/2023 in #💬│support
Adding Missing Method for Environments in python SDK
Sure! Confirm me ones.. then I'll raise the PR!
36 replies
NNovu
•Created by mr-palindrome on 10/8/2023 in #💬│support
Adding Missing Method for Environments in python SDK
36 replies
NNovu
•Created by mr-palindrome on 10/8/2023 in #💬│support
Adding Missing Method for Environments in python SDK
hey @Pawan Jain no one from the maintainer team reached to me yet.. I'm stuck at this issue from over a week. All of my development has been done but I'm stuck at writing the test case as I could not figure out the use case of the API!!
36 replies
NNovu
•Created by mr-palindrome on 10/8/2023 in #💬│support
Adding Missing Method for Environments in python SDK
I tried to work with it but I'm really confused what the different payload parameters means. like dns and inboundParseDomain.
And do I need to add them in its respective dto (EnvironmentDto) as no dns or inboundParseDomain keyword defination is mentioned!
36 replies