GeoEco.Datasets.Collections.DirectoryTree.GetLazyPropertyValue

DirectoryTree.GetLazyPropertyValue(name, allowPhysicalValue=True)

Returns the value of the lazy property with the specified name.

Parameters:
  • name (str) – Name of the lazy property to return the value of. Minimum length꞉ 1. Must match regular expression꞉ [a-zA-Z][a-zA-Z0-9_]+.

  • allowPhysicalValue (bool, optional) – If True and the value of the lazy property is not currently known, it will be retrieved from the physical source of the data. For example, if getting the value requires downloading a remote file and opening it, the file will be downloaded and opened, a potentially expensive and slow operation. If False and the value of the lazy property is not currently known, it will not be retrieved and None will be returned instead.

Returns:

Value of the lazy property with the specified name, or None if there is no lazy property with that name, or if it cannot be retrieved from the physical source of the data because allowPhysicalValue was False.

Return type:

object