Skip to main content
Seasoned ⭐️⭐️⭐️
February 19, 2025
Solved

Pygen - global_config does not work

  • February 19, 2025
  • 1 reply
  • 56 views

I usesthe scripts below with replacing the my_sdk with my generated sdk, which was generated by Pygen, and show me this error “ my client object has no attribute 'config' ”. 

 

My scipts are  

my_sdk.config import global_config; global_config.validate_retrieve = False

and 

my_sdk.config.global_config.validate_retrieve = False

Any guidance? 

    Best answer by Abdulmonim

    Resolved

    1 reply

    AbdulmonimAuthorAnswer
    Seasoned ⭐️⭐️⭐️
    February 19, 2025

    Resolved