Skip to content

Rename the Array.read_only method? #163

Description

@kylebarron

Array.read_only looks like a boolean predicate, asking whether the current array is read-only or not.

Instead it's a method that converts the current array into a read-only array.

def read_only(self) -> Array:   # returns an Array
def is_sharded(self) -> bool:   # actual predicate, same class

I'll leave this as-is for 0.1 and we can come back to discuss

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions