From 812ff85591fd21e7e7b758951e5dded4e6541999 Mon Sep 17 00:00:00 2001 From: Anthony Correa Date: Sun, 20 Nov 2022 15:40:49 -0600 Subject: [PATCH] incorporate json+collection, other refinements --- docs/_static/jquery-3.6.0.js | 4 +- docs/genindex.html | 480 ++++++++- docs/objects.inv | Bin 868 -> 2005 bytes docs/pyteamsnap.html | 201 +++- docs/pyteamsnap.models.html | 1245 ++++++++++++++++------ docs/searchindex.js | 2 +- pyteamsnap/client.py | 99 +- pyteamsnap/formatters.py | 57 + pyteamsnap/models/availability.py | 4 +- pyteamsnap/models/availabilitysummary.py | 7 +- pyteamsnap/models/base.py | 101 +- pyteamsnap/models/event.py | 4 +- pyteamsnap/models/eventlineup.py | 4 +- pyteamsnap/models/eventlineupentry.py | 4 +- pyteamsnap/models/location.py | 4 +- pyteamsnap/models/me.py | 4 - pyteamsnap/models/member.py | 7 +- pyteamsnap/models/memberstatistics.py | 4 +- pyteamsnap/models/opponent.py | 4 +- pyteamsnap/models/statistics.py | 4 +- pyteamsnap/models/team.py | 4 +- pyteamsnap/models/user.py | 4 +- requirements.txt | 1 + tests/base.py | 9 +- tests/{client.py => test_client.py} | 2 +- 25 files changed, 1756 insertions(+), 503 deletions(-) create mode 100644 pyteamsnap/formatters.py rename tests/{client.py => test_client.py} (96%) diff --git a/docs/_static/jquery-3.6.0.js b/docs/_static/jquery-3.6.0.js index 382e622..fc6c299 100644 --- a/docs/_static/jquery-3.6.0.js +++ b/docs/_static/jquery-3.6.0.js @@ -4395,7 +4395,7 @@ var dataUser = new Data(); // 2. Improve the module's maintainability by reducing the storage // paths to a single mechanism. // 3. Use the same single mechanism to support "private" and "user" data. -// 4. _Never_ expose "private" data to user code (TODO: Drop _internal_data_dict, _removeData) +// 4. _Never_ expose "private" data to user code (TODO: Drop _data, _removeData) // 5. Avoid exposing implementation details on user objects (eg. expando properties) // 6. Provide a clear path for implementation upgrade to WeakMap in 2014 @@ -4463,7 +4463,7 @@ jQuery.extend( { dataUser.remove( elem, name ); }, - // TODO: Now that all calls to _internal_data_dict and _removeData have been replaced + // TODO: Now that all calls to _data and _removeData have been replaced // with direct calls to dataPriv methods, these can be deprecated. _data: function( elem, name, data ) { return dataPriv.access( elem, name, data ); diff --git a/docs/genindex.html b/docs/genindex.html index a5d77f8..14a3998 100644 --- a/docs/genindex.html +++ b/docs/genindex.html @@ -73,9 +73,14 @@ | C | D | E + | F | G + | H + | I + | J | L | M + | N | O | P | Q @@ -84,16 +89,53 @@ | T | U | V + | Y

A

@@ -103,6 +145,14 @@