Skip to content

Commit

Permalink
fix: removed wildcard pattern type in documentation (#1373)
Browse files Browse the repository at this point in the history
  • Loading branch information
emasab authored Jun 27, 2022
1 parent 97f90d5 commit 01e4200
Showing 1 changed file with 8 additions and 8 deletions.
16 changes: 8 additions & 8 deletions src/confluent_kafka/admin/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -402,10 +402,10 @@ def describe_acls(self, acl_binding_filter, **kwargs):
must match.
String attributes match exact values or any string if set to None.
Enums attributes match exact values or any value if equal to `ANY`.
If :class:`ResourcePatternType` is set to :attr:`ResourcePatternType.MATCH` returns all
the ACL bindings with :attr:`ResourcePatternType.LITERAL`,
:attr:`ResourcePatternType.WILDCARD` or :attr:`ResourcePatternType.PREFIXED` pattern
type that match the resource name.
If :class:`ResourcePatternType` is set to :attr:`ResourcePatternType.MATCH` returns ACL bindings with:
:attr:`ResourcePatternType.LITERAL` pattern type with resource name equal to the given resource name;
:attr:`ResourcePatternType.LITERAL` pattern type with wildcard resource name that matches the given resource name;
:attr:`ResourcePatternType.PREFIXED` pattern type with resource name that is a prefix of the given resource name
:param float request_timeout: The overall request timeout in seconds,
including broker lookup, request transmission, operation time
on broker, and response. Default: `socket.timeout.ms*1000.0`
Expand Down Expand Up @@ -433,10 +433,10 @@ def delete_acls(self, acl_binding_filters, **kwargs):
to match ACLs to delete.
String attributes match exact values or any string if set to None.
Enums attributes match exact values or any value if equal to `ANY`.
If :class:`ResourcePatternType` is set to :attr:`ResourcePatternType.MATCH`
deletes all the ACL bindings with :attr:`ResourcePatternType.LITERAL`,
:attr:`ResourcePatternType.WILDCARD` or :attr:`ResourcePatternType.PREFIXED`
pattern type that match the resource name.
If :class:`ResourcePatternType` is set to :attr:`ResourcePatternType.MATCH` deletes ACL bindings with:
:attr:`ResourcePatternType.LITERAL` pattern type with resource name equal to the given resource name;
:attr:`ResourcePatternType.LITERAL` pattern type with wildcard resource name that matches the given resource name;
:attr:`ResourcePatternType.PREFIXED` pattern type with resource name that is a prefix of the given resource name
:param float request_timeout: The overall request timeout in seconds,
including broker lookup, request transmission, operation time
on broker, and response. Default: `socket.timeout.ms*1000.0`
Expand Down

0 comments on commit 01e4200

Please sign in to comment.