mirror of
https://github.com/Ultimaker/Cura.git
synced 2025-07-14 02:07:51 -06:00
Merge branch 'master' of github.com:Ultimaker/Cura into CURA-7090-addition
This commit is contained in:
commit
eb3bd811c1
4 changed files with 94 additions and 0 deletions
|
@ -6,6 +6,9 @@ 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
|
||||
# Also add the user agent headers (see DefaultUserAgentScope)
|
||||
class UltimakerCloudScope(DefaultUserAgentScope):
|
||||
def __init__(self, application: CuraApplication):
|
||||
super().__init__(application)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue