sky-api-client 3.3.2__tar.gz → 3.3.4__tar.gz
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.
- {sky_api_client-3.3.2 → sky_api_client-3.3.4}/PKG-INFO +7 -1
- {sky_api_client-3.3.2 → sky_api_client-3.3.4}/README.md +7 -0
- {sky_api_client-3.3.2 → sky_api_client-3.3.4}/setup.py +1 -1
- {sky_api_client-3.3.2 → sky_api_client-3.3.4}/sky_api_client/entity/constituent_education.py +10 -4
- {sky_api_client-3.3.2 → sky_api_client-3.3.4}/sky_api_client/entity/education.py +2 -1
- {sky_api_client-3.3.2 → sky_api_client-3.3.4}/sky_api_client.egg-info/PKG-INFO +7 -1
- {sky_api_client-3.3.2 → sky_api_client-3.3.4}/pyproject.toml +0 -0
- {sky_api_client-3.3.2 → sky_api_client-3.3.4}/setup.cfg +0 -0
- {sky_api_client-3.3.2 → sky_api_client-3.3.4}/sky_api_client/__init__.py +0 -0
- {sky_api_client-3.3.2 → sky_api_client-3.3.4}/sky_api_client/client.py +0 -0
- {sky_api_client-3.3.2 → sky_api_client-3.3.4}/sky_api_client/common/__init__.py +0 -0
- {sky_api_client-3.3.2 → sky_api_client-3.3.4}/sky_api_client/common/tasks/__init__.py +0 -0
- {sky_api_client-3.3.2 → sky_api_client-3.3.4}/sky_api_client/common/tasks/asyncio.py +0 -0
- {sky_api_client-3.3.2 → sky_api_client-3.3.4}/sky_api_client/entity/__init__.py +0 -0
- {sky_api_client-3.3.2 → sky_api_client-3.3.4}/sky_api_client/entity/address.py +0 -0
- {sky_api_client-3.3.2 → sky_api_client-3.3.4}/sky_api_client/entity/base.py +0 -0
- {sky_api_client-3.3.2 → sky_api_client-3.3.4}/sky_api_client/entity/code_table.py +0 -0
- {sky_api_client-3.3.2 → sky_api_client-3.3.4}/sky_api_client/entity/constituent.py +0 -0
- {sky_api_client-3.3.2 → sky_api_client-3.3.4}/sky_api_client/entity/constituent_address.py +0 -0
- {sky_api_client-3.3.2 → sky_api_client-3.3.4}/sky_api_client/entity/constituent_code.py +0 -0
- {sky_api_client-3.3.2 → sky_api_client-3.3.4}/sky_api_client/entity/constituent_custom_field.py +0 -0
- {sky_api_client-3.3.2 → sky_api_client-3.3.4}/sky_api_client/entity/constituent_email_address.py +0 -0
- {sky_api_client-3.3.2 → sky_api_client-3.3.4}/sky_api_client/entity/constituent_online_presence.py +0 -0
- {sky_api_client-3.3.2 → sky_api_client-3.3.4}/sky_api_client/entity/constituent_phone.py +0 -0
- {sky_api_client-3.3.2 → sky_api_client-3.3.4}/sky_api_client/entity/constituent_relationship.py +0 -0
- {sky_api_client-3.3.2 → sky_api_client-3.3.4}/sky_api_client/entity/constituent_solicit_code.py +0 -0
- {sky_api_client-3.3.2 → sky_api_client-3.3.4}/sky_api_client/entity/custom_field.py +0 -0
- {sky_api_client-3.3.2 → sky_api_client-3.3.4}/sky_api_client/entity/custom_field_categories.py +0 -0
- {sky_api_client-3.3.2 → sky_api_client-3.3.4}/sky_api_client/entity/email_addresses.py +0 -0
- {sky_api_client-3.3.2 → sky_api_client-3.3.4}/sky_api_client/entity/event.py +0 -0
- {sky_api_client-3.3.2 → sky_api_client-3.3.4}/sky_api_client/entity/event_fee.py +0 -0
- {sky_api_client-3.3.2 → sky_api_client-3.3.4}/sky_api_client/entity/event_participant.py +0 -0
- {sky_api_client-3.3.2 → sky_api_client-3.3.4}/sky_api_client/entity/event_participant_donation.py +0 -0
- {sky_api_client-3.3.2 → sky_api_client-3.3.4}/sky_api_client/entity/event_participant_fee.py +0 -0
- {sky_api_client-3.3.2 → sky_api_client-3.3.4}/sky_api_client/entity/event_participant_fee_payment.py +0 -0
- {sky_api_client-3.3.2 → sky_api_client-3.3.4}/sky_api_client/entity/event_participant_levels.py +0 -0
- {sky_api_client-3.3.2 → sky_api_client-3.3.4}/sky_api_client/entity/event_participation_levels.py +0 -0
- {sky_api_client-3.3.2 → sky_api_client-3.3.4}/sky_api_client/entity/fundraising_appeal.py +0 -0
- {sky_api_client-3.3.2 → sky_api_client-3.3.4}/sky_api_client/entity/fundraising_campaign.py +0 -0
- {sky_api_client-3.3.2 → sky_api_client-3.3.4}/sky_api_client/entity/fundraising_fund.py +0 -0
- {sky_api_client-3.3.2 → sky_api_client-3.3.4}/sky_api_client/entity/fundraising_package.py +0 -0
- {sky_api_client-3.3.2 → sky_api_client-3.3.4}/sky_api_client/entity/gender.py +0 -0
- {sky_api_client-3.3.2 → sky_api_client-3.3.4}/sky_api_client/entity/gift.py +0 -0
- {sky_api_client-3.3.2 → sky_api_client-3.3.4}/sky_api_client/entity/gift_aid.py +0 -0
- {sky_api_client-3.3.2 → sky_api_client-3.3.4}/sky_api_client/entity/gift_batch.py +0 -0
- {sky_api_client-3.3.2 → sky_api_client-3.3.4}/sky_api_client/entity/gift_batch_gift.py +0 -0
- {sky_api_client-3.3.2 → sky_api_client-3.3.4}/sky_api_client/entity/gift_custom_field_values.py +0 -0
- {sky_api_client-3.3.2 → sky_api_client-3.3.4}/sky_api_client/entity/gift_custom_fields.py +0 -0
- {sky_api_client-3.3.2 → sky_api_client-3.3.4}/sky_api_client/entity/gift_subtype.py +0 -0
- {sky_api_client-3.3.2 → sky_api_client-3.3.4}/sky_api_client/entity/list.py +0 -0
- {sky_api_client-3.3.2 → sky_api_client-3.3.4}/sky_api_client/entity/online_presence.py +0 -0
- {sky_api_client-3.3.2 → sky_api_client-3.3.4}/sky_api_client/entity/phone.py +0 -0
- {sky_api_client-3.3.2 → sky_api_client-3.3.4}/sky_api_client/entity/registry.py +0 -0
- {sky_api_client-3.3.2 → sky_api_client-3.3.4}/sky_api_client/entity/relationship.py +0 -0
- {sky_api_client-3.3.2 → sky_api_client-3.3.4}/sky_api_client/entity/solicit_code.py +0 -0
- {sky_api_client-3.3.2 → sky_api_client-3.3.4}/sky_api_client/entity/suffix.py +0 -0
- {sky_api_client-3.3.2 → sky_api_client-3.3.4}/sky_api_client/entity/table_entry.py +0 -0
- {sky_api_client-3.3.2 → sky_api_client-3.3.4}/sky_api_client/entity/title.py +0 -0
- {sky_api_client-3.3.2 → sky_api_client-3.3.4}/sky_api_client/entity/webhook_subscription.py +0 -0
- {sky_api_client-3.3.2 → sky_api_client-3.3.4}/sky_api_client/exceptions/__init__.py +0 -0
- {sky_api_client-3.3.2 → sky_api_client-3.3.4}/sky_api_client/exceptions/exception.py +0 -0
- {sky_api_client-3.3.2 → sky_api_client-3.3.4}/sky_api_client.egg-info/SOURCES.txt +0 -0
- {sky_api_client-3.3.2 → sky_api_client-3.3.4}/sky_api_client.egg-info/dependency_links.txt +0 -0
- {sky_api_client-3.3.2 → sky_api_client-3.3.4}/sky_api_client.egg-info/top_level.txt +0 -0
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
Metadata-Version: 2.1
|
|
2
2
|
Name: sky_api_client
|
|
3
|
-
Version: 3.3.
|
|
3
|
+
Version: 3.3.4
|
|
4
4
|
Summary: Python client for RENXT APIs
|
|
5
5
|
Home-page: https://bitbucket.org/kalyanvarma/skyapi
|
|
6
6
|
Author: Rajeev K L
|
|
@@ -165,6 +165,12 @@ Description: # Sky Api Client
|
|
|
165
165
|
|
|
166
166
|
> Note:- Current version doesn't have refresh token functionality.
|
|
167
167
|
|
|
168
|
+
|
|
169
|
+
# Updating Version
|
|
170
|
+
```
|
|
171
|
+
$ semversioner add-change --type patch --description "description for the change"
|
|
172
|
+
$ ./release
|
|
173
|
+
```
|
|
168
174
|
Platform: UNKNOWN
|
|
169
175
|
Classifier: Programming Language :: Python :: 3
|
|
170
176
|
Classifier: License :: OSI Approved :: MIT License
|
|
@@ -156,3 +156,10 @@ email_address_list = sky_api.email_addresses.list()
|
|
|
156
156
|
```
|
|
157
157
|
|
|
158
158
|
> Note:- Current version doesn't have refresh token functionality.
|
|
159
|
+
|
|
160
|
+
|
|
161
|
+
# Updating Version
|
|
162
|
+
```
|
|
163
|
+
$ semversioner add-change --type patch --description "description for the change"
|
|
164
|
+
$ ./release
|
|
165
|
+
```
|
{sky_api_client-3.3.2 → sky_api_client-3.3.4}/sky_api_client/entity/constituent_education.py
RENAMED
|
@@ -41,12 +41,18 @@ class ConstituentEducation(Entity):
|
|
|
41
41
|
education_custom_fields = EducationCustomField(self._api).custom_fields(education_id=education['id'])
|
|
42
42
|
custom_fields = {}
|
|
43
43
|
for custom_field in education_custom_fields:
|
|
44
|
-
|
|
45
|
-
|
|
46
|
-
field_value.
|
|
44
|
+
if not custom_field.get('value'):
|
|
45
|
+
continue
|
|
46
|
+
field_value = custom_fields.setdefault(slugify_underscore(custom_field['category']), [])
|
|
47
|
+
field_value.append(custom_field.get('value'))
|
|
47
48
|
|
|
48
49
|
for key, value in custom_fields.items():
|
|
49
|
-
|
|
50
|
+
if len(value) > 1:
|
|
51
|
+
education[key] = value
|
|
52
|
+
elif len(value) == 1:
|
|
53
|
+
education[key] = value[0]
|
|
54
|
+
else:
|
|
55
|
+
education[key] = None
|
|
50
56
|
|
|
51
57
|
def add_custom_fields_async(self, data):
|
|
52
58
|
task_list = []
|
|
@@ -1,6 +1,7 @@
|
|
|
1
1
|
from sky_api_client.entity.base import Entity
|
|
2
2
|
from sky_api_client.entity.registry import EntityRegistry
|
|
3
3
|
from sky_api_client.exceptions.exception import MethodNotDefined
|
|
4
|
+
from urllib.parse import quote_plus
|
|
4
5
|
|
|
5
6
|
|
|
6
7
|
@EntityRegistry.register('education')
|
|
@@ -54,6 +55,6 @@ class EducationCustomField(Entity):
|
|
|
54
55
|
def custom_field_categories_code_table(self, category_name):
|
|
55
56
|
if self.CUSTOM_FIELD_CATEGORIES_CODE_TABLE_URL:
|
|
56
57
|
return self._api.request(
|
|
57
|
-
method='GET', path=self.CUSTOM_FIELD_CATEGORIES_CODE_TABLE_URL.format(category_name)
|
|
58
|
+
method='GET', path=self.CUSTOM_FIELD_CATEGORIES_CODE_TABLE_URL.format(quote_plus(category_name))
|
|
58
59
|
).get('value', [])
|
|
59
60
|
raise MethodNotDefined('custom_field_categories_code_table')
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
Metadata-Version: 2.1
|
|
2
2
|
Name: sky-api-client
|
|
3
|
-
Version: 3.3.
|
|
3
|
+
Version: 3.3.4
|
|
4
4
|
Summary: Python client for RENXT APIs
|
|
5
5
|
Home-page: https://bitbucket.org/kalyanvarma/skyapi
|
|
6
6
|
Author: Rajeev K L
|
|
@@ -165,6 +165,12 @@ Description: # Sky Api Client
|
|
|
165
165
|
|
|
166
166
|
> Note:- Current version doesn't have refresh token functionality.
|
|
167
167
|
|
|
168
|
+
|
|
169
|
+
# Updating Version
|
|
170
|
+
```
|
|
171
|
+
$ semversioner add-change --type patch --description "description for the change"
|
|
172
|
+
$ ./release
|
|
173
|
+
```
|
|
168
174
|
Platform: UNKNOWN
|
|
169
175
|
Classifier: Programming Language :: Python :: 3
|
|
170
176
|
Classifier: License :: OSI Approved :: MIT License
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
{sky_api_client-3.3.2 → sky_api_client-3.3.4}/sky_api_client/entity/constituent_custom_field.py
RENAMED
|
File without changes
|
{sky_api_client-3.3.2 → sky_api_client-3.3.4}/sky_api_client/entity/constituent_email_address.py
RENAMED
|
File without changes
|
{sky_api_client-3.3.2 → sky_api_client-3.3.4}/sky_api_client/entity/constituent_online_presence.py
RENAMED
|
File without changes
|
|
File without changes
|
{sky_api_client-3.3.2 → sky_api_client-3.3.4}/sky_api_client/entity/constituent_relationship.py
RENAMED
|
File without changes
|
{sky_api_client-3.3.2 → sky_api_client-3.3.4}/sky_api_client/entity/constituent_solicit_code.py
RENAMED
|
File without changes
|
|
File without changes
|
{sky_api_client-3.3.2 → sky_api_client-3.3.4}/sky_api_client/entity/custom_field_categories.py
RENAMED
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
{sky_api_client-3.3.2 → sky_api_client-3.3.4}/sky_api_client/entity/event_participant_donation.py
RENAMED
|
File without changes
|
{sky_api_client-3.3.2 → sky_api_client-3.3.4}/sky_api_client/entity/event_participant_fee.py
RENAMED
|
File without changes
|
{sky_api_client-3.3.2 → sky_api_client-3.3.4}/sky_api_client/entity/event_participant_fee_payment.py
RENAMED
|
File without changes
|
{sky_api_client-3.3.2 → sky_api_client-3.3.4}/sky_api_client/entity/event_participant_levels.py
RENAMED
|
File without changes
|
{sky_api_client-3.3.2 → sky_api_client-3.3.4}/sky_api_client/entity/event_participation_levels.py
RENAMED
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
{sky_api_client-3.3.2 → sky_api_client-3.3.4}/sky_api_client/entity/gift_custom_field_values.py
RENAMED
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|