Skip to content
Discussion options

You must be logged in to vote

Assuming you need this for DOORS Next, there's def find_folder( self, name_or_path_or_uri, force=False ):

This populates a property _folders but stops as soon as it finds the name_or_path_or_uri so for a successful search it's likely that not all folders will be loaded. I guess you could force the full folder hierarchy to be loaded by giving it a rubbish name to find, i.e. one that doesn't exist, also don't start the name with a / will mean it will check for that folder name everywhere.

    # _folders is a dictionary which holds:
    #    folder name ->  Folder instance
    #    folder path ->  Folder instance
    #    query uri   ->  Folder instance (query URI is only used when building …

Replies: 1 comment

Comment options

You must be logged in to vote
0 replies
Answer selected by barny
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants