Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

add username as a parameter for redis components on 3.4.x #12835

Merged

Conversation

vcidst
Copy link
Contributor

@vcidst vcidst commented Sep 20, 2023

Proposed changes:

  • Add username to the connection parameters for RedisLockStore

Status (please check what you already did):

  • added some tests for the functionality
  • updated the documentation
  • updated the changelog (please check changelog for instructions)
  • reformat files using black (please check Readme for instructions)

@vcidst vcidst requested a review from a team as a code owner September 20, 2023 11:32
@vcidst vcidst requested review from radovanZRasa and removed request for a team September 20, 2023 11:32
@vcidst vcidst mentioned this pull request Sep 20, 2023
4 tasks
@@ -384,3 +387,42 @@ async def test_redis_lock_store_with_valid_prefix(monkeypatch: MonkeyPatch):
with pytest.raises(LockError):
async with lock_store.lock("some sender"):
pass


def test_tracker_store_endpoint_config_loading(endpoints_path: Text):
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Default fixture file does not have field username.
Create a new fixture file and use that.

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Ah, I've added the username field in the existing yaml file. I hope that also works?

)


def test_create_lock_store_from_endpoint_config(domain: Domain, endpoints_path: Text):
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Same here.

@github-actions
Copy link
Contributor

🚀 A preview of the docs have been deployed at the following URL: https://12835--rasahq-docs-rasa-v2.netlify.app/docs/rasa

@vcidst vcidst enabled auto-merge (squash) September 22, 2023 08:22
@vcidst vcidst merged commit 6162393 into 3.4.x Sep 22, 2023
116 checks passed
@vcidst vcidst deleted the ATO-1520-add-username-as-a-parameter-for-redis-components-34x branch September 22, 2023 08:49
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants