mirror of
https://github.com/Ultimaker/Cura.git
synced 2025-07-11 08:47:50 -06:00
More documentation for UltimakerCloudScope
This commit is contained in:
parent
1324969dc2
commit
b25d6360ab
1 changed files with 1 additions and 0 deletions
|
@ -8,6 +8,7 @@ from cura.CuraApplication import CuraApplication
|
||||||
|
|
||||||
## Add a Authorization header to the request for Ultimaker Cloud Api requests.
|
## 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
|
# When the user is not logged in or a token is not available, a warning will be logged
|
||||||
|
# Also add the user agent headers (see DefaultUserAgentScope)
|
||||||
class UltimakerCloudScope(DefaultUserAgentScope):
|
class UltimakerCloudScope(DefaultUserAgentScope):
|
||||||
def __init__(self, application: CuraApplication):
|
def __init__(self, application: CuraApplication):
|
||||||
super().__init__(application)
|
super().__init__(application)
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue