code: def create(cls, userFunction, *args, **kwargs):
          
          return EncapsulatedJob(cls(userFunction, *args, **kwargs))
docs: Creates an encapsulated Toil job function with unfulfilled promised resource
          requirements. After the promises are fulfilled, a child job function is created
          using updated resource values. The subgraph is encapsulated to ensure that this
          child job function is run before other children in the workflow. Otherwise, a
          different child may try to use an unresolved promise return value from the parent.