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

Update tutorial_intro.rst usage of auto_bind #1089

Merged
merged 1 commit into from
Mar 19, 2024

Conversation

stevleibelt
Copy link
Contributor

Update usage of auto_bind and replace legacy value of True with current hard coded True-Representation of AUTO_BIND_NO_TLS

See connection.py line 252ff

            if auto_bind is False:  # compatibility with older version where auto_bind was a boolean
                self.auto_bind = AUTO_BIND_DEFAULT
            elif auto_bind is True:
                self.auto_bind = AUTO_BIND_NO_TLS
            else:
                self.auto_bind = auto_bind

Update usage of `auto_bind` and replace legacy value of `True` with current hard coded `True`-Representation of `AUTO_BIND_NO_TLS`

See `connection.py` line 252ff

```python
            if auto_bind is False:  # compatibility with older version where auto_bind was a boolean
                self.auto_bind = AUTO_BIND_DEFAULT
            elif auto_bind is True:
                self.auto_bind = AUTO_BIND_NO_TLS
            else:
                self.auto_bind = auto_bind
```
@cannatag cannatag merged commit d5b3e7d into cannatag:dev Mar 19, 2024
@cannatag
Copy link
Owner

thanks!

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