Get a model schema by model_schema_id. :param model_schema_id: the model schema id. :return: the model schema or None if not found.
(model_schema_id: str)
| 185 | |
| 186 | |
| 187 | def get_model_schema(model_schema_id: str) -> Optional[ModelSchema]: |
| 188 | """ |
| 189 | Get a model schema by model_schema_id. |
| 190 | |
| 191 | :param model_schema_id: the model schema id. |
| 192 | :return: the model schema or None if not found. |
| 193 | """ |
| 194 | return _model_schema_dict.get(model_schema_id) |
| 195 | |
| 196 | |
| 197 | def i18n_text( |
no test coverage detected