lsscodes

Results 6 comments of lsscodes

@desertaxle i tried the following code ``` from prefect.deployments.steps import git_clone from prefect_gitlab import GitLabCredentials credentials = GitLabCredentials.load("lss-gitlab") print(credentials) git_clone( repository="https://gitlab.com/xxx2074845/im30_rewards_autosubscriber_prefect.git", credentials=credentials, ) ``` and it returned ``` GitLabCredentials(token=SecretStr('**********'), url=None)...

@desertaxle still nothing happened ``` RuntimeWarning: coroutine 'git_clone' was never awaited git_clone( RuntimeWarning: Enable tracemalloc to get the object allocation traceback RuntimeWarning: coroutine 'sync_compatible..coroutine_wrapper..ctx_call' was never awaited git_clone( RuntimeWarning: Enable...

@desertaxle new error ``` TypeError: cannot pickle 'coroutine' object sys:1: RuntimeWarning: coroutine 'sync_compatible..coroutine_wrapper..ctx_call' was never awaited ```

@zzstoatzz @desertaxle I was able to get it working. thanks for the help did the following change ``` pull: - prefect.deployments.steps.git_clone: repository: https://gitlab.com/xxxxx/im30_rewards_autosubscriber_prefect.git access_token: "{{ prefect.blocks.secret.lss-gitlab-token }}" ``` I also...

@desertaxle that is correct, `access_token` did the trick by the way, have you looked at the RuntimeWarnings?

@toorusr I tried your suggestion and was able to create a long-lived aut token, but i am still getting this error in claude(code) destop app