tff.framework.CardinalitiesType.get

Retrieve the corresponding layout by the string key.

When there isn't an exact match, all the existing keys in the layout map will be treated as a regex and map against the input key again. The first match will be returned, based on the key insertion order. Return None if there isn't any match found.

key the string key as the query for the layout.

Corresponding layout based on the query.