Skip to content
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
29 commits
Select commit Hold shift + click to select a range
35d3b03
chore: drop support for python 3.6 (#632)
JenniferMah Jan 10, 2023
329800a
build: generate RC branch from oai-generator
mattcole19 Jan 10, 2023
fdda73b
Revert "build: generate RC branch from oai-generator"
mattcole19 Jan 10, 2023
d8b3ce1
feat: generate rest using open-api-generator (#633)
mattcole19 Jan 12, 2023
1a587ee
chore: refactor client (#634)
claudiachua Jan 12, 2023
17a210c
chore: generate code with template fixes
mattcole19 Jan 17, 2023
3170791
Revert "chore: generate code with template fixes"
mattcole19 Jan 17, 2023
a25ab50
chore: generate code with template fixes (#635)
mattcole19 Jan 19, 2023
eabfaa9
test: update tox config and replace deprecated test functions (#636)
Jan 19, 2023
d8850f0
chore: Security upgrade pygments from 2.5.2 to 2.7.4 (#609)
twilio-product-security Jan 19, 2023
61f1d4e
docs: remove docs output from repo (#637)
Jan 19, 2023
0bc8c88
chore: relax test dependencies and remove unused dependencies (#638)
Jan 19, 2023
6314d0b
chore: rename last_request/response (#639)
JenniferMah Jan 23, 2023
a31405f
chore: Split Shortcuts (#640)
claudiachua Jan 25, 2023
45816bf
fix: remove Flex shortcuts for removed APIs (#641)
claudiachua Jan 25, 2023
f5467bf
fix: remove camelcase duplicates domains (#642)
claudiachua Jan 26, 2023
d0c066e
chore: remove deprecated grants (#644)
JenniferMah Jan 26, 2023
4efc7c7
chore: remove deprecated twiml methods (#643)
JenniferMah Jan 26, 2023
dc3f8bf
chore: generate client (#645)
mattcole19 Jan 26, 2023
70617fc
feat: generate version files (#647)
mattcole19 Feb 3, 2023
02ccd56
fix: remove brackets (#648)
claudiachua Feb 8, 2023
cf73bf0
chore: keep v2010 shortcuts (#651)
JenniferMah Feb 13, 2023
db7d99c
chore: sync with latest changes
Feb 13, 2023
a384d56
feat: generate init files appropriately (#649)
beebzz Feb 15, 2023
babc14e
fix: correct the python list resource name (#652)
Feb 15, 2023
e540798
feat: Pagination (#653)
claudiachua Feb 15, 2023
2d39d9a
feat: add return types to shortcuts (#654)
Feb 15, 2023
7fa82b4
feat: add account setter (#655)
Feb 16, 2023
5331da3
Create metals.log
er168999 Feb 17, 2023
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
The table of contents is too big for display.
Diff view
Diff view
  •  
  •  
  •  
14 changes: 5 additions & 9 deletions .github/workflows/test-and-deploy.yml
Original file line number Diff line number Diff line change
Expand Up @@ -13,17 +13,11 @@ on:
jobs:
test:
name: Test
runs-on: ubuntu-latest
timeout-minutes: 20
strategy:
matrix:
python-version: [ '3.7', '3.8', '3.9', '3.10', '3.11' ]
os: [ubuntu-latest]
# Need to pin ubuntu version for python 3.6 (see https://github.com/actions/setup-python/issues/544#issuecomment-1332535877)
# Change this to use ubuntu-latest for all python versions after deprecating python 3.6
include:
- python-version: '3.6'
os: 'ubuntu-20.04'
runs-on: ${{ matrix.os }}
steps:
- name: Checkout twilio-python
uses: actions/checkout@v3
Expand All @@ -38,12 +32,14 @@ jobs:
- name: Install Dependencies
run: |
pip install virtualenv --upgrade
make install
make test-install
make install test-install

- name: Run the tests
run: make test-with-coverage

- name: Verify docs generation
run: make docs

# only send coverage for PRs and branch updates
- name: SonarCloud Scan
if: (github.event_name == 'pull_request' || github.ref_type == 'branch') && !github.event.pull_request.head.repo.fork && matrix.python-version == '3.10'
Expand Down
4 changes: 3 additions & 1 deletion .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ coverage.xml
.DS_Store

# sphinx build and rst folder
docs/_build
docs/build
docs/source/_rst

# PyCharm/IntelliJ
Expand All @@ -38,3 +38,5 @@ docs/source/_rst
.python-version

README.md.bak

**/.openapi-generator*
40 changes: 40 additions & 0 deletions .metals/metals.log
Original file line number Diff line number Diff line change
@@ -0,0 +1,40 @@
2023.02.17 15:54:02 INFO tracing is disabled for protocol LSP, to enable tracing of incoming and outgoing JSON messages create an empty file at c:\Users\ASUS\Documents\GitHub\twilio-python\.metals\lsp.trace.json or C:\Users\ASUS\AppData\Local\scalameta\metals\cache\lsp.trace.json
2023.02.17 15:54:06 INFO logging to file C:\Users\ASUS\Documents\GitHub\twilio-python\.metals\metals.log
2023.02.17 15:54:06 INFO Started: Metals version 0.11.10 in workspace 'C:\Users\ASUS\Documents\GitHub\twilio-python' for client Visual Studio Code 1.75.1.
2023.02.17 15:54:06 WARN Can't instantiate JavaInteractiveSemanticdb (version: JdkVersion(8), jdkHome: C:\Program Files (x86)\Java\jre1.8.0_191, javac exists: false)
SLF4J: No SLF4J providers were found.
SLF4J: Defaulting to no-operation (NOP) logger implementation
SLF4J: See https://www.slf4j.org/codes.html#noProviders for further details.
SLF4J: Class path contains SLF4J bindings targeting slf4j-api versions 1.7.x or earlier.
SLF4J: Ignoring binding found at [jar:file:/C:/Users/ASUS/AppData/Local/Coursier/cache/v1/https/repo1.maven.org/maven2/com/outr/scribe-slf4j_2.13/3.10.5/scribe-slf4j_2.13-3.10.5.jar!/org/slf4j/impl/StaticLoggerBinder.class]
SLF4J: See https://www.slf4j.org/codes.html#ignoredBindings for an explanation.
2023.02.17 15:54:07 INFO time: initialize in 0.86s
2023.02.17 15:54:07 WARN Build server is not auto-connectable.
2023.02.17 15:54:07 WARN no build tool detected in workspace 'C:\Users\ASUS\Documents\GitHub\twilio-python'. The most common cause for this problem is that the editor was opened in the wrong working directory, for example if you use sbt then the workspace directory should contain build.sbt.
�G�� 17, 2023 3:54:44 �U�� org.eclipse.lsp4j.jsonrpc.services.GenericEndpoint notify
��T: Unsupported notification method: $/setTrace
�G�� 17, 2023 3:54:48 �U�� org.eclipse.lsp4j.jsonrpc.services.GenericEndpoint notify
��T: Unsupported notification method: $/setTrace
�G�� 17, 2023 3:54:53 �U�� org.eclipse.lsp4j.jsonrpc.services.GenericEndpoint notify
��T: Unsupported notification method: $/setTrace
�G�� 17, 2023 3:54:56 �U�� org.eclipse.lsp4j.jsonrpc.services.GenericEndpoint notify
��T: Unsupported notification method: $/setTrace
�G�� 17, 2023 3:54:58 �U�� org.eclipse.lsp4j.jsonrpc.services.GenericEndpoint notify
��T: Unsupported notification method: $/setTrace
�G�� 17, 2023 3:55:04 �U�� org.eclipse.lsp4j.jsonrpc.services.GenericEndpoint notify
��T: Unsupported notification method: $/setTrace
�G�� 17, 2023 3:55:44 �U�� org.eclipse.lsp4j.jsonrpc.services.GenericEndpoint notify
��T: Unsupported notification method: $/setTrace
�G�� 17, 2023 3:56:57 �U�� org.eclipse.lsp4j.jsonrpc.services.GenericEndpoint notify
��T: Unsupported notification method: $/setTrace
�G�� 17, 2023 6:59:03 �U�� org.eclipse.lsp4j.jsonrpc.services.GenericEndpoint notify
��T: Unsupported notification method: $/setTrace
�G�� 17, 2023 7:01:08 �U�� org.eclipse.lsp4j.jsonrpc.services.GenericEndpoint notify
��T: Unsupported notification method: $/setTrace
�G�� 17, 2023 7:02:03 �U�� org.eclipse.lsp4j.jsonrpc.services.GenericEndpoint notify
��T: Unsupported notification method: $/setTrace
�G�� 17, 2023 8:11:11 �U�� org.eclipse.lsp4j.jsonrpc.services.GenericEndpoint notify
��T: Unsupported notification method: $/setTrace
�G�� 17, 2023 8:26:58 �U�� org.eclipse.lsp4j.jsonrpc.services.GenericEndpoint notify
��T: Unsupported notification method: $/setTrace
2023.02.17 20:27:33 INFO shutting down Metals
2 changes: 1 addition & 1 deletion Dockerfile
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
FROM python:3.6
FROM python:3.7

ENV PYTHONUNBUFFERED 1

Expand Down
2 changes: 1 addition & 1 deletion Makefile
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
.PHONY: clean install analysis test test-install test-docker develop docs docs-install

venv:
@python --version || (echo "Python is not installed, Python 3.6+"; exit 1);
@python --version || (echo "Python is not installed, Python 3.7+"; exit 1);
virtualenv --python=python venv

install: venv
Expand Down
1 change: 0 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,6 @@ Please consult the [official migration guide](https://www.twilio.com/docs/librar

This library supports the following Python implementations:

* Python 3.6
* Python 3.7
* Python 3.8
* Python 3.9
Expand Down
Binary file removed docs/build/doctrees/.pytest_cache/README.doctree
Binary file not shown.
Binary file removed docs/build/doctrees/AUTHORS.doctree
Binary file not shown.
Binary file removed docs/build/doctrees/CHANGES.doctree
Binary file not shown.
Binary file removed docs/build/doctrees/CODE_OF_CONDUCT.doctree
Binary file not shown.
Binary file removed docs/build/doctrees/CONTRIBUTING.doctree
Binary file not shown.
Binary file removed docs/build/doctrees/ISSUE_TEMPLATE.doctree
Binary file not shown.
Binary file removed docs/build/doctrees/PULL_REQUEST_TEMPLATE.doctree
Binary file not shown.
Binary file removed docs/build/doctrees/README.doctree
Binary file not shown.
Binary file removed docs/build/doctrees/UPGRADE.doctree
Binary file not shown.
Binary file removed docs/build/doctrees/VERSIONS.doctree
Binary file not shown.
Binary file removed docs/build/doctrees/docs/source/_rst/modules.doctree
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file removed docs/build/doctrees/environment.pickle
Binary file not shown.
Binary file removed docs/build/doctrees/index.doctree
Binary file not shown.
4 changes: 0 additions & 4 deletions docs/build/html/.buildinfo

This file was deleted.

105 changes: 0 additions & 105 deletions docs/build/html/.pytest_cache/README.html

This file was deleted.

126 changes: 0 additions & 126 deletions docs/build/html/AUTHORS.html

This file was deleted.

Loading