uipath 2.1.22__py3-none-any.whl → 2.1.24__py3-none-any.whl

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
uipath/_cli/cli_auth.py CHANGED
@@ -81,6 +81,12 @@ def set_port():
81
81
  required=False,
82
82
  help="Base URL for the UiPath tenant instance (required for client credentials)",
83
83
  )
84
+ @click.option(
85
+ "--scope",
86
+ required=False,
87
+ default="OR.Execution",
88
+ help="Space-separated list of OAuth scopes to request (e.g., 'OR.Execution OR.Queues'). Defaults to 'OR.Execution'",
89
+ )
84
90
  @track
85
91
  def auth(
86
92
  domain,
@@ -88,11 +94,12 @@ def auth(
88
94
  client_id: str = None,
89
95
  client_secret: str = None,
90
96
  base_url: str = None,
97
+ scope: str = None,
91
98
  ):
92
99
  """Authenticate with UiPath Cloud Platform.
93
100
 
94
101
  Interactive mode (default): Opens browser for OAuth authentication.
95
- Unattended mode: Use --client-id, --client-secret and --base-url for client credentials flow.
102
+ Unattended mode: Use --client-id, --client-secret, --base-url and --scope for client credentials flow.
96
103
 
97
104
  Network options:
98
105
  - Set HTTP_PROXY/HTTPS_PROXY/NO_PROXY environment variables for proxy configuration
@@ -117,7 +124,9 @@ def auth(
117
124
  )
118
125
  credentials_service.domain = extracted_domain
119
126
 
120
- token_data = credentials_service.authenticate(client_id, client_secret)
127
+ token_data = credentials_service.authenticate(
128
+ client_id, client_secret, scope
129
+ )
121
130
 
122
131
  if token_data:
123
132
  credentials_service.setup_environment(token_data, base_url)
uipath/tracing/_utils.py CHANGED
@@ -37,7 +37,7 @@ class UiPathSpan:
37
37
  )
38
38
  expiry_time_utc: Optional[str] = None
39
39
  folder_key: Optional[str] = field(
40
- default_factory=lambda: env.get("UIPATH_FOLDER_KEY_XYZ", "")
40
+ default_factory=lambda: env.get("UIPATH_FOLDER_KEY", "")
41
41
  )
42
42
  source: Optional[str] = None
43
43
  span_type: str = "Coded Agents"
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: uipath
3
- Version: 2.1.22
3
+ Version: 2.1.24
4
4
  Summary: Python SDK and CLI for UiPath Platform, enabling programmatic interaction with automation services, process management, and deployment tools.
5
5
  Project-URL: Homepage, https://uipath.com
6
6
  Project-URL: Repository, https://github.com/UiPath/uipath-python
@@ -6,7 +6,7 @@ uipath/_uipath.py,sha256=ZfEcqpY7NRSm6rB2OPgyVXBl9DCnn750ikq8VzzTO_s,4146
6
6
  uipath/py.typed,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
7
7
  uipath/_cli/README.md,sha256=GLtCfbeIKZKNnGTCsfSVqRQ27V1btT1i2bSAyW_xZl4,474
8
8
  uipath/_cli/__init__.py,sha256=oG0oTrb60qfIncJ0EcGsytBYxAVbepcBlOkqBKQlsJM,2104
9
- uipath/_cli/cli_auth.py,sha256=RUSBHfmqhBtITrx52FeXMlVCuNyo8vrjTdjEhmM1Khw,6734
9
+ uipath/_cli/cli_auth.py,sha256=79LoffaBNT5LTCDAWn1Ft586mhBa3Zu5D2OmCOT0OJU,7004
10
10
  uipath/_cli/cli_deploy.py,sha256=KPCmQ0c_NYD5JofSDao5r6QYxHshVCRxlWDVnQvlp5w,645
11
11
  uipath/_cli/cli_eval.py,sha256=INkfaZKadShtFOrVfTNM7K2kjXV-cwIqsOfIEYqDSGc,3656
12
12
  uipath/_cli/cli_init.py,sha256=jksza6bHfh4z1nKyEJBEEZlkO37yZoCz_FJWq_RPhWI,6093
@@ -112,11 +112,11 @@ uipath/telemetry/_track.py,sha256=I8SzROQcySAXNfxx4QgZlJ6ib8DjTKn50CiZYsbjjr8,45
112
112
  uipath/tracing/__init__.py,sha256=GKRINyWdHVrDsI-8mrZDLdf0oey6GHGlNZTOADK-kgc,224
113
113
  uipath/tracing/_otel_exporters.py,sha256=X7cnuGqvxGbACZuFD2XYTWXwIse8pokOEAjeTPE6DCQ,3158
114
114
  uipath/tracing/_traced.py,sha256=qeVDrds2OUnpdUIA0RhtF0kg2dlAZhyC1RRkI-qivTM,18528
115
- uipath/tracing/_utils.py,sha256=ZeensQexnw69jVcsVrGyED7mPlAU-L1agDGm6_1A3oc,10388
115
+ uipath/tracing/_utils.py,sha256=wJRELaPu69iY0AhV432Dk5QYf_N_ViRU4kAUG1BI1ew,10384
116
116
  uipath/utils/__init__.py,sha256=VD-KXFpF_oWexFg6zyiWMkxl2HM4hYJMIUDZ1UEtGx0,105
117
117
  uipath/utils/_endpoints_manager.py,sha256=iRTl5Q0XAm_YgcnMcJOXtj-8052sr6jpWuPNz6CgT0Q,8408
118
- uipath-2.1.22.dist-info/METADATA,sha256=PBTmuugOkHNWxAFxeXSWRQwVtz81cv2zUMUU9JldFzI,6367
119
- uipath-2.1.22.dist-info/WHEEL,sha256=qtCwoSJWgHk21S1Kb4ihdzI2rlJ1ZKaIurTj_ngOhyQ,87
120
- uipath-2.1.22.dist-info/entry_points.txt,sha256=9C2_29U6Oq1ExFu7usihR-dnfIVNSKc-0EFbh0rskB4,43
121
- uipath-2.1.22.dist-info/licenses/LICENSE,sha256=-KBavWXepyDjimmzH5fVAsi-6jNVpIKFc2kZs0Ri4ng,1058
122
- uipath-2.1.22.dist-info/RECORD,,
118
+ uipath-2.1.24.dist-info/METADATA,sha256=fXeGzgEiKF_18KFXUd3hhF0yJzeUrdzopw0kw8o7IWA,6367
119
+ uipath-2.1.24.dist-info/WHEEL,sha256=qtCwoSJWgHk21S1Kb4ihdzI2rlJ1ZKaIurTj_ngOhyQ,87
120
+ uipath-2.1.24.dist-info/entry_points.txt,sha256=9C2_29U6Oq1ExFu7usihR-dnfIVNSKc-0EFbh0rskB4,43
121
+ uipath-2.1.24.dist-info/licenses/LICENSE,sha256=-KBavWXepyDjimmzH5fVAsi-6jNVpIKFc2kZs0Ri4ng,1058
122
+ uipath-2.1.24.dist-info/RECORD,,