@@ -521,7 +521,7 @@ def __init__(
521521 self ._server_version_tuple = None
522522
523523 self ._graphql_allows_data_in_query = None
524- self ._representation_traits_available : Optional [bool ] = None
524+ self ._graphql_allows_traits_in_representations : Optional [bool ] = None
525525
526526 self ._session = None
527527
@@ -1119,14 +1119,14 @@ def graphql_allows_data_in_query(self) -> bool:
11191119
11201120
11211121 @property
1122- def representation_traits_available (self ) -> bool :
1122+ def graphql_allows_traits_in_representations (self ) -> bool :
11231123 """Check server support for representation traits."""
1124- if self ._representation_traits_available is None :
1124+ if self ._graphql_allows_traits_in_representations is None :
11251125 major , minor , patch , _ , _ = self .server_version_tuple
1126- self ._representation_traits_available = (
1126+ self ._graphql_allows_traits_in_representations = (
11271127 (major , minor , patch ) >= (1 , 7 , 5 )
11281128 )
1129- return self ._representation_traits_available
1129+ return self ._graphql_allows_traits_in_representations
11301130
11311131
11321132 def _get_user_info (self ) -> Optional [Dict [str , Any ]]:
@@ -2774,7 +2774,7 @@ def get_default_fields_for_type(self, entity_type: str) -> Set[str]:
27742774 if not self .graphql_allows_data_in_query :
27752775 entity_type_defaults .discard ("data" )
27762776
2777- if not self .representation_traits_available :
2777+ if not self .graphql_allows_traits_in_representations :
27782778 entity_type_defaults .discard ("traits" )
27792779
27802780 elif entity_type == "folderType" :
0 commit comments