nc-user-terminator 0.1.10__tar.gz → 0.1.11__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.

Potentially problematic release.


This version of nc-user-terminator might be problematic. Click here for more details.

@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: nc-user-terminator
3
- Version: 0.1.10
3
+ Version: 0.1.11
4
4
  Summary: OAuth client wrapper for multi-tenant projects
5
5
  Author: bw_song
6
6
  Author-email: m132777096902@gmail.com
@@ -23,3 +23,5 @@ Dynamic: requires-python
23
23
  - 修改缓存配置
24
24
  + v0.1.10
25
25
  - 获取用户信息,本地缓存配置
26
+ + v0.1.11
27
+ - 用户头像字段调整
@@ -10,4 +10,6 @@
10
10
  + v0.1.9
11
11
  - 修改缓存配置
12
12
  + v0.1.10
13
- - 获取用户信息,本地缓存配置
13
+ - 获取用户信息,本地缓存配置
14
+ + v0.1.11
15
+ - 用户头像字段调整
@@ -15,8 +15,8 @@ class UserResponse(dict):
15
15
  return self.get("email")
16
16
 
17
17
  @property
18
- def picture(self) -> Optional[str]:
19
- return self.get("picture")
18
+ def avatar(self) -> Optional[str]:
19
+ return self.get("avatar")
20
20
 
21
21
  @property
22
22
  def full_name(self) -> Optional[str]:
@@ -44,5 +44,5 @@ class CallbackResponse(dict):
44
44
  return self.get("email")
45
45
 
46
46
  @property
47
- def user_picture(self) -> str:
48
- return self.get("user_picture")
47
+ def avatar(self) -> str:
48
+ return self.get("avatar")
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: nc-user-terminator
3
- Version: 0.1.10
3
+ Version: 0.1.11
4
4
  Summary: OAuth client wrapper for multi-tenant projects
5
5
  Author: bw_song
6
6
  Author-email: m132777096902@gmail.com
@@ -23,3 +23,5 @@ Dynamic: requires-python
23
23
  - 修改缓存配置
24
24
  + v0.1.10
25
25
  - 获取用户信息,本地缓存配置
26
+ + v0.1.11
27
+ - 用户头像字段调整
@@ -4,7 +4,7 @@ build-backend = "setuptools.build_meta"
4
4
 
5
5
  [project]
6
6
  name = "nc-user-terminator"
7
- version = "0.1.10"
7
+ version = "0.1.11"
8
8
  description = "OAuth client wrapper for multi-tenant projects"
9
9
  authors = [
10
10
  { name = "bw_song" }