Skip to content
This repository was archived by the owner on Jul 5, 2024. It is now read-only.

Commit b4d0df0

Browse files
Merge pull request #72 from RaaLabs/reduce-dependencies
Reduce dependencies
2 parents f1367cf + 07571f8 commit b4d0df0

File tree

3 files changed

+37
-29
lines changed

3 files changed

+37
-29
lines changed

.github/pull_request_template.md

Lines changed: 29 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,29 @@
1+
## Summary
2+
3+
Summary of the PR here. The GitHub release description is created from this comment so keep it nice and descriptive.
4+
5+
Remember to remove sections that you don't need or use.
6+
7+
### Added
8+
9+
- Describe the added features
10+
11+
### Changed
12+
13+
- Describe the outwards facing code change
14+
15+
### Fixed
16+
17+
- Describe the fix and the bug
18+
19+
### Removed
20+
21+
- Describe what was removed and why
22+
23+
### Security
24+
25+
- Describe the security issue and the fix
26+
27+
### Deprecated
28+
29+
- Describe the part of the code being deprecated and why

docs/source/quickstart.rst

Lines changed: 7 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,10 @@ Or directly from GitHub:
2323
Authentication
2424
##############
2525
We recommend to use your Azure account to authenticate with the TSIClient. For that you need to install
26-
the Azure CLI. Follow the docs here: https://docs.microsoft.com/en-us/cli/azure/install-azure-cli.
26+
the Azure CLI. Follow the docs here: https://docs.microsoft.com/en-us/cli/azure/install-azure-cli. Using your
27+
Azure account to authenticate makes use of the `azure-identity` Python library from Microsoft. You can read on the
28+
supported ways of logging in here: https://docs.microsoft.com/en-us/python/api/overview/azure/identity-readme?view=azure-python
29+
(authentication with a Visual Studio token disabled for the TSIClient).
2730
Authentication using a service principal is discouraged.
2831

2932
Log in to Azure with the following command:
@@ -105,13 +108,14 @@ The example walks you through a typical workflow with the TSIClient.
105108

106109

107110
First you have to instantiate the TSIClient. If you authenticated using the Azure CLI,
108-
you can instantiate the client like this:
111+
you can instantiate the client like this (there will be some warnings displayed from
112+
the Azure credential library, depending on what authentication method you use):
109113

110114
.. code-block:: python
111115
112116
>>> from TSIClient import TSIClient as tsi
113117
>>> client = tsi.TSIClient(
114-
... enviroment="<your-tsi-env-name>",
118+
... environment="<your-tsi-env-name>",
115119
... applicationName="<your-app-name>">,
116120
... api_version="2020-07-31"
117121
... )

requirements.txt

Lines changed: 1 addition & 26 deletions
Original file line numberDiff line numberDiff line change
@@ -1,35 +1,13 @@
11
alabaster==0.7.12
2-
atomicwrites==1.3.0
3-
attrs==19.3.0
42
azure-identity==1.5.0
5-
Babel==2.8.0
6-
certifi==2019.11.28
7-
chardet==3.0.4
8-
colorama==0.4.3
93
coverage==5.0
104
docutils==0.16
11-
idna==2.8
12-
imagesize==1.2.0
13-
importlib-metadata==1.3.0
14-
Jinja2==2.11.3
15-
MarkupSafe==1.1.1
16-
more-itertools==8.0.2
17-
numpy==1.17.4
18-
packaging==19.2
19-
pandas==0.25.3
20-
pluggy==0.13.1
21-
py==1.10.0
22-
Pygments==2.7.4
23-
pyparsing==2.4.5
5+
pandas==1.1.5
246
pytest==5.2.3
257
pytest-cov==2.8.1
268
pytest-mock==3.5.1
27-
python-dateutil==2.8.1
28-
pytz==2019.3
299
requests==2.22.0
3010
requests-mock==1.7.0
31-
six==1.13.0
32-
snowballstemmer==2.0.0
3311
Sphinx==2.3.1
3412
sphinx-rtd-theme==0.4.3
3513
sphinxcontrib-applehelp==1.0.1
@@ -38,6 +16,3 @@ sphinxcontrib-htmlhelp==1.0.2
3816
sphinxcontrib-jsmath==1.0.1
3917
sphinxcontrib-qthelp==1.0.2
4018
sphinxcontrib-serializinghtml==1.1.3
41-
urllib3==1.25.8
42-
wcwidth==0.1.7
43-
zipp==0.6.0

0 commit comments

Comments
 (0)