Browse Source

Add some documentation for HttpRequestScope

Nino van Hooff 5 years ago
parent
commit
1324969dc2
1 changed files with 2 additions and 0 deletions
  1. 2 0
      plugins/Toolbox/src/UltimakerCloudScope.py

+ 2 - 0
plugins/Toolbox/src/UltimakerCloudScope.py

@@ -6,6 +6,8 @@ from cura.API import Account
 from cura.CuraApplication import CuraApplication
 
 
+## Add a Authorization header to the request for Ultimaker Cloud Api requests.
+# When the user is not logged in or a token is not available, a warning will be logged
 class UltimakerCloudScope(DefaultUserAgentScope):
     def __init__(self, application: CuraApplication):
         super().__init__(application)