Add a .close() method to the client
              
              #1000
            
            
                  
                    
                      idan3
                    
                  
                
                  started this conversation in
                Feature request
              
            Replies: 1 comment
-
| Mostly because folks are expected to either use this in a context manager or use it in a form that doesn't require closing (like a one-off script). You can achieve this today by calling  That said, I wouldn't be opposed to a PR which adds a  | 
Beta Was this translation helpful? Give feedback.
                  
                    0 replies
                  
                
            
  
    Sign up for free
    to join this conversation on GitHub.
    Already have an account?
    Sign in to comment
  
        
    
Uh oh!
There was an error while loading. Please reload this page.
-
Why there is no close method to the client?
httpx has one and the generated client uses httpx client.
Beta Was this translation helpful? Give feedback.
All reactions