Remove deprecated Templar.set_available_variables() (#75836)

Fixes #75828
pull/75848/head
Martin Krizek 3 years ago committed by GitHub
parent 963a272b28
commit 13e535c3bc
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

@ -0,0 +1,2 @@
bugfixes:
- Remove deprecated ``Templar.set_available_variables()`` method (https://github.com/ansible/ansible/issues/75828)

@ -776,13 +776,6 @@ class Templar:
self._available_variables = variables
self._cached_result = {}
def set_available_variables(self, variables):
display.deprecated(
'set_available_variables is being deprecated. Use "@available_variables.setter" instead.',
version='2.13', collection_name='ansible.builtin'
)
self.available_variables = variables
@contextmanager
def set_temporary_context(self, **kwargs):
"""Context manager used to set temporary templating context, without having to worry about resetting

Loading…
Cancel
Save