Skip to content

Commit

Permalink
Merge remote-tracking branch 'origin/master' into sarah/fix-snowflake…
Browse files Browse the repository at this point in the history
…-default
  • Loading branch information
sarah-witt committed Nov 23, 2021
2 parents 0ec992e + 1f32928 commit c6f101c
Show file tree
Hide file tree
Showing 2 changed files with 12 additions and 5 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,7 @@
from datamodel_code_generator.format import CodeFormatter, PythonVersion
from datamodel_code_generator.parser import LiteralType
from datamodel_code_generator.parser.openapi import OpenAPIParser
from pydantic import BaseModel

from ..constants import OPENAPI_SCHEMA_PROPERTIES
from ..utils import sanitize_openapi_object_properties
Expand All @@ -23,7 +24,7 @@

def normalize_option_name(option_name):
# https://github.com/koxudaxi/datamodel-code-generator/blob/0.8.3/datamodel_code_generator/model/base.py#L82-L84
if iskeyword(option_name):
if iskeyword(option_name) or hasattr(BaseModel, option_name):
option_name += '_'

return option_name.replace('-', '_')
Expand Down
14 changes: 10 additions & 4 deletions ibm_mq/assets/dashboards/overview.json
Original file line number Diff line number Diff line change
Expand Up @@ -242,10 +242,16 @@
"title_size": "16",
"title_align": "center",
"check": "ibm_mq.can_connect",
"grouping": "check",
"group": "channel:dev.admin.svrconn,host:localhost,port:1414,queue_manager:qm1,host:mq.sahni.info",
"group_by": [],
"tags": []
"grouping": "cluster",
"group_by": [
"mq_host",
"host"
],
"tags": [
"$queue_manager",
"$channel",
"$host"
]
},
"layout": {
"x": 1,
Expand Down

0 comments on commit c6f101c

Please sign in to comment.