Skip to content

Commit 7ebd063

Browse files
authored
Merge pull request #67 from it176131/add-comments
modified: _posts/2024-11-29-dynamic-enums.md
2 parents 57dc2b2 + c3528be commit 7ebd063

File tree

1 file changed

+18
-1
lines changed

1 file changed

+18
-1
lines changed

_posts/2024-11-29-dynamic-enums.md

Lines changed: 18 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -238,4 +238,21 @@ if __name__ == "__main__":
238238
I like this solution because of its simplicity, but `mypy` raises a [`[misc]` error](https://mypy.readthedocs.io/en/stable/error_code_list.html#miscellaneous-checks-misc) saying:
239239
>Second argument of Enum() must be string, tuple, list or dict literal for mypy to determine Enum members
240240
241-
Because of this, I will be sticking with my inheritance approach.
241+
Because of this, I will be sticking with my inheritance approach.
242+
243+
<script src="https://giscus.app/client.js"
244+
data-repo="it176131/it176131.github.io"
245+
data-repo-id="R_kgDOK1ukqg"
246+
data-category="Announcements"
247+
data-category-id="DIC_kwDOK1ukqs4CcOnS"
248+
data-mapping="pathname"
249+
data-strict="0"
250+
data-reactions-enabled="1"
251+
data-emit-metadata="0"
252+
data-input-position="top"
253+
data-theme="light"
254+
data-lang="en"
255+
data-loading="lazy"
256+
crossorigin="anonymous"
257+
async>
258+
</script>

0 commit comments

Comments
 (0)