@@ -28,7 +28,7 @@ def all(self):
2828 base = self .url ,
2929 token = self .api .access_token ,
3030 http_session = self .api .http_session ,
31- user_agent = self .user_agent ,
31+ user_agent = self .api . user_agent ,
3232 proxies = self .api .proxies ,
3333 )
3434 return RecordSet (self , r )
@@ -43,7 +43,7 @@ def filter(self, *args, **kwargs):
4343 base = self .url ,
4444 token = self .api .access_token ,
4545 http_session = self .api .http_session ,
46- user_agent = self .user_agent ,
46+ user_agent = self .api . user_agent ,
4747 proxies = self .api .proxies ,
4848 )
4949 return RecordSet (self , r )
@@ -78,7 +78,7 @@ def get(self, *args, **kwargs):
7878 base = self .url ,
7979 token = self .api .access_token ,
8080 http_session = self .api .http_session ,
81- user_agent = self .user_agent ,
81+ user_agent = self .api . user_agent ,
8282 proxies = self .api .proxies ,
8383 )
8484 try :
@@ -100,7 +100,7 @@ def create(self, *args, **kwargs):
100100 base = self .url ,
101101 token = self .api .access_token ,
102102 http_session = self .api .http_session ,
103- user_agent = self .user_agent ,
103+ user_agent = self .api . user_agent ,
104104 proxies = self .api .proxies ,
105105 ).post (args [0 ] if args else kwargs )
106106
0 commit comments