fortifyapi/client.py
def initialize(self, template=DefaultVersionTemplate):
        """
        Called automatically when Version.create is called.

        :return:
        """
        with self._api as api:
            if not isinstance(template, DefaultVersionTemplate):
                template = template()
            data = template.generate(api=api, project_version_id=self['id'])
            return api.bulk_request(data)

        Called automatically when Version.create is called.

        :return:
        
Called automatically when Version.create is called.
Called automatically when Version . create is called .
def initialize(self, template=DefaultVersionTemplate):
        with self._api as api:
            if not isinstance(template, DefaultVersionTemplate):
                template = template()
            data = template.generate(api=api, project_version_id=self['id'])
            return api.bulk_request(data)
def initialize ( self , template = DefaultVersionTemplate ) : with self . _api as api : if not isinstance ( template , DefaultVersionTemplate ) : template = template ( ) data = template . generate ( api = api , project_version_id = self [ 'id' ] ) return api . bulk_request ( data )
Called automatically when Version.create is called.
Called automatically when Version . create is called .
"""
        Called automatically when Version.create is called.

        :return:
        """
None
self
template