fastgenerateapi 1.1.11__py2.py3-none-any.whl → 1.1.12__py2.py3-none-any.whl

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.
@@ -8,7 +8,7 @@
8
8
  # d8888P
9
9
 
10
10
 
11
- VERSION = (1, 1, 11)
11
+ VERSION = (1, 1, 12)
12
12
 
13
13
  __version__ = '.'.join(map(str, VERSION))
14
14
 
@@ -123,6 +123,8 @@ class BaseView(BaseMixin, ResponseMixin, ToolMixin, DBModelMixin):
123
123
  attr_model = getattr(attr_model, attr_key, None)
124
124
 
125
125
  if attr_model:
126
+ if settings.app_settings.SCHEMAS_UNDERLINE_WHETHER_DOUBLE_TO_SINGLE:
127
+ key = key.replace("__", "_")
126
128
  for value in value_list:
127
129
  if type(value) == str:
128
130
  setattr(model, key + "_" + value, getattr(attr_model, value, None) if attr_model else None)
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.1
2
2
  Name: fastgenerateapi
3
- Version: 1.1.11
3
+ Version: 1.1.12
4
4
  Summary: FastAPIView Class View
5
5
  Author: ShiLiang
6
6
  Author-email: 2509144896@qq.com
@@ -1,8 +1,8 @@
1
1
  fastgenerateapi/__init__.py,sha256=eh2qtp7FbjrgaRX5b3H3UWpasFdNHbVFqLUhpqVbaTU,1287
2
- fastgenerateapi/__version__.py,sha256=-n7dhyb2qQZHtAwcRPpSC9Z4U1Vo6n0LrAe9Qiooq-I,497
2
+ fastgenerateapi/__version__.py,sha256=ol6k_UX5Vhbi7It9yOUu2GPVOJo5AeKpzuhf6-xgVAI,497
3
3
  fastgenerateapi/api_view/__init__.py,sha256=zkaTX5JxsNfjF-dFeEbHfUB58vhPMjm6Iiqx9HgJOrY,14
4
4
  fastgenerateapi/api_view/api_view.py,sha256=mfD8GB-hnyI2XO3tkSOlEa2FfBLdq0_Wqvp8gFrXFKU,1160
5
- fastgenerateapi/api_view/base_view.py,sha256=s8f6zdoRqPRmo6o2FqHZG2MKcn1gc8JELix8VetVo3k,9810
5
+ fastgenerateapi/api_view/base_view.py,sha256=xXczwGgdti1MZr_ZUVDeqJD1BHOX-XnOwi-re7UpD3o,9946
6
6
  fastgenerateapi/api_view/create_view.py,sha256=NvJ0ocD2UMHcdipA4W7MYamxAw8sYeXAc176VAdkLek,4621
7
7
  fastgenerateapi/api_view/delete_filter_view.py,sha256=ZP9pmRNeCTu_Go4ErfnDPnkPMShEh_Ql18iNCfMNJ3s,2838
8
8
  fastgenerateapi/api_view/delete_tree_view.py,sha256=oqkWQNlA7TNZHHRTJJwxidOHxOgmvUpcnu81cT3oTA0,4083
@@ -103,8 +103,8 @@ fastgenerateapi/utils/snowflake.py,sha256=GiFVkE10sPiqJ094sMfrPsaV7Y9Y3c1djrSfgs
103
103
  fastgenerateapi/utils/str_util.py,sha256=c-jUlCFw-Dz4W1W9Jc1TqGZw3JXu-qN5ovnE6fjc9j0,3445
104
104
  fastgenerateapi/utils/swagger_to_js.py,sha256=pPPTag6TYtxdbKMHD3m8lJvc8Gv9HC97CGHt4esU1-E,530
105
105
  script/__init__.py,sha256=26UWatnbm6ZIwQMuu9NNzQ0IW1ACO4Oe9caModuTpWM,4
106
- fastgenerateapi-1.1.11.dist-info/LICENSE,sha256=gcuuhKKc5-dwvyvHsXjlC9oM6N5gZ6umYbC8ewW1Yvg,35821
107
- fastgenerateapi-1.1.11.dist-info/METADATA,sha256=jFaw2DlNnKiSf98Co48jlHrprvW8sKQjehfXfStj3to,5961
108
- fastgenerateapi-1.1.11.dist-info/WHEEL,sha256=iYlv5fX357PQyRT2o6tw1bN-YcKFFHKqB_LwHO5wP-g,110
109
- fastgenerateapi-1.1.11.dist-info/top_level.txt,sha256=CW2SlpYjTRdacF-5ufnPMtwpYcR0XYn_bDxa2ZrrTBI,23
110
- fastgenerateapi-1.1.11.dist-info/RECORD,,
106
+ fastgenerateapi-1.1.12.dist-info/LICENSE,sha256=gcuuhKKc5-dwvyvHsXjlC9oM6N5gZ6umYbC8ewW1Yvg,35821
107
+ fastgenerateapi-1.1.12.dist-info/METADATA,sha256=zLPx--NDyEwPCJaWqf6E6w2ZAYvpUREKZrGo3LohYeA,5961
108
+ fastgenerateapi-1.1.12.dist-info/WHEEL,sha256=iYlv5fX357PQyRT2o6tw1bN-YcKFFHKqB_LwHO5wP-g,110
109
+ fastgenerateapi-1.1.12.dist-info/top_level.txt,sha256=CW2SlpYjTRdacF-5ufnPMtwpYcR0XYn_bDxa2ZrrTBI,23
110
+ fastgenerateapi-1.1.12.dist-info/RECORD,,