This page is not created by, affiliated with, or supported by Slack Technologies, Inc.
2024-04-11
Channels
- # announcements (2)
- # babashka (31)
- # beginners (31)
- # calva (30)
- # cider (23)
- # clerk (1)
- # clojure (46)
- # clojure-austin (5)
- # clojure-brasil (1)
- # clojure-europe (47)
- # clojure-nl (1)
- # clojure-norway (72)
- # clojure-uk (2)
- # clojurescript (39)
- # conjure (1)
- # cursive (16)
- # data-science (1)
- # datomic (35)
- # dev-tooling (4)
- # events (5)
- # introduce-yourself (2)
- # jobs-discuss (5)
- # missionary (3)
- # polylith (11)
- # releases (4)
- # scittle (4)
- # shadow-cljs (18)
- # spacemacs (16)
- # specter (2)
- # squint (27)
- # xtdb (6)
I've been trying to use the xtsql.py
utility but it throws an error. Am I doing something wrong?
❯ python3 --version
Python 3.8.10
❯ python3 xtsql.py --url=
File "xtsql.py", line 86
match obj.get('@type', None):
^
SyntaxError: invalid syntax
Hey @U01B1CZQ9PF sorry about this - match
is only supported in Python 3.10 onwards, so you can either upgrade Python or modify the uses of match
to be if ... else ...
instead
actually I thought I had already made this change to avoid match
, but evidently not :thinking_face:
Thanks @U899JBRPF I just upgraded Python 🙂