Model
Converting Python classes into Ramifice Models.
Model
¶
Bases: JsonMixin, QPaladinsMixin, QCommonsMixin
Converting Python Class into Ramifice Model.
Source code in src/ramifice/model.py
43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139 140 141 142 143 144 145 146 147 148 149 150 151 152 153 154 155 156 | |
dateparser_settings
property
¶
Settings for dateparser.parser.
lang_code
property
¶
Language code.
utc_timezone
property
¶
UTC timezone object.
__delattr__(name)
¶
__init__(lang_code=Translator.DEFAULT_LOCALE)
¶
Converting Python Class into Ramifice Model.
Parameters:
| Name | Type | Description | Default |
|---|---|---|---|
lang_code
|
str
|
Language code for Model localization. |
DEFAULT_LOCALE
|
Source code in src/ramifice/model.py
full_model_name()
¶
get_error_map()
¶
Get clean data.
Source code in src/ramifice/model.py
inject(lang_code, descriptor_fields, data_dynamic_fields)
¶
Update the state of dynamic fields from metadata of model.