Skip to content

Commit

Permalink
fix: use pascal case for backboneelement
Browse files Browse the repository at this point in the history
  • Loading branch information
spicyfalafel committed Sep 26, 2024
1 parent 76c9a8a commit daba13d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/aidbox_sdk/generator/python.clj
Original file line number Diff line number Diff line change
Expand Up @@ -93,7 +93,7 @@
nil)

(defn ->backbone-type [element]
(str (:base element) "_" (uppercase-first-letter (:name element))))
(str (->pascal-case (:base element)) (uppercase-first-letter (:name element))))

(def restricted-python-words
#{"False" "None" "True" "and" "as" "assert" "async" "await" "break" "class"
Expand Down

0 comments on commit daba13d

Please sign in to comment.