diff --git a/.github/pull_request_template.md b/.github/pull_request_template.md index 19806760..fc89ce0f 100644 --- a/.github/pull_request_template.md +++ b/.github/pull_request_template.md @@ -1,7 +1,7 @@ **Requirements** - [ ] I have added test coverage for new or changed functionality -- [ ] I have followed the repository's [pull request submission guidelines](../blob/master/CONTRIBUTING.md#submitting-pull-requests) +- [ ] I have followed the repository's [pull request submission guidelines](../blob/main/CONTRIBUTING.md#submitting-pull-requests) - [ ] I have validated my changes against all supported platform versions **Related issues** diff --git a/ldclient/config.py b/ldclient/config.py index 9a19c264..dfe1a29a 100644 --- a/ldclient/config.py +++ b/ldclient/config.py @@ -201,10 +201,12 @@ def __init__(self, default values are returned for all flags and no remote network requests are made. By default, this is false. :param poll_interval: The number of seconds between polls for flag updates if streaming is off. - :param use_ldd: Whether you are using the LaunchDarkly relay proxy in daemon mode. In this + :param use_ldd: Whether you are using the LaunchDarkly Relay Proxy in daemon mode. In this configuration, the client will not use a streaming connection to listen for updates, but instead will get feature state from a Redis instance. The `stream` and `poll_interval` options will be ignored if this option is set to true. By default, this is false. + For more information, read the LaunchDarkly + documentation: https://docs.launchdarkly.com/home/relay-proxy/using#using-daemon-mode :param array private_attribute_names: Marks a set of attribute names private. Any users sent to LaunchDarkly with this configuration active will have attributes with these names removed. :param all_attributes_private: If true, all user attributes (other than the key) will be diff --git a/requirements.txt b/requirements.txt index 449e3467..078df9e0 100644 --- a/requirements.txt +++ b/requirements.txt @@ -1,5 +1,5 @@ certifi>=2018.4.16 -expiringdict>=1.1.4,<1.2.0 +expiringdict>=1.1.4 pyRFC3339>=1.0 semver>=2.10.2,<3.0.0 urllib3>=1.22.0 diff --git a/sse-contract-tests/Makefile b/sse-contract-tests/Makefile index 37f69644..1d4da244 100644 --- a/sse-contract-tests/Makefile +++ b/sse-contract-tests/Makefile @@ -19,7 +19,7 @@ start-test-service-bg: @make start-test-service >$(TEMP_TEST_OUTPUT) 2>&1 & run-contract-tests: - @curl -s https://raw.githubusercontent.com/launchdarkly/sse-contract-tests/master/downloader/run.sh \ + @curl -s https://raw.githubusercontent.com/launchdarkly/sse-contract-tests/v2.0.0/downloader/run.sh \ | VERSION=v1 PARAMS="-url http://localhost:$(PORT) -debug -stop-service-at-end $(EXTRA_TEST_PARAMS)" sh contract-tests: build-test-service start-test-service-bg run-contract-tests