Skip to content

Conversation

@leplatrem
Copy link
Contributor

Traceback (most recent call last):
  File "<frozen runpy>", line 198, in _run_module_as_main
  File "<frozen runpy>", line 88, in _run_code
  File "/app/telescope/__main__.py", line 6, in <module>
    main(sys.argv[1:])
    ~~~~^^^^^^^^^^^^^^
  File "/app/telescope/app.py", line 640, in main
    checks = Checks.from_conf(conf)
  File "/app/telescope/app.py", line 96, in from_conf
    check = Check(project=project, name=name, **attrs)
  File "/app/telescope/app.py", line 161, in __init__
    self.params[param] = utils.cast_value(_type, value)
                         ~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^
  File "/app/telescope/utils.py", line 491, in cast_value
    return t(value)
TypeError: 'types.UnionType' object is not callable

Makes me see that we don't have integration test of checks

@leplatrem leplatrem requested a review from a team as a code owner December 19, 2025 14:40
@leplatrem leplatrem added the bug Something isn't working label Dec 19, 2025
@leplatrem leplatrem merged commit 11203fd into main Dec 19, 2025
5 of 6 checks passed
@leplatrem leplatrem deleted the fix-rtd-token-param branch December 19, 2025 14:46
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

bug Something isn't working

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants