Skip to content

[FR] BuildLine is not available from python API #289

@xlfds

Description

@xlfds

Please verify that this feature request has NOT been suggested before.

  • I checked and didn't find a similar feature request

Problem statement

I want to write python script that count missing material for all SOs. When something is missing than the skript is looking for POs and BOs and BoMs and calculate what I need assembly and what I need buy (recursively).

But I cannot import BuildLine (I use pip package inventree v0.21.1):

from inventree.build import BuildLine
ImportError: cannot import name 'BuildLine' from 'inventree.build' (/home/.../env/lib/python3.12/site-packages/inventree/build.py)

Is it possible?

Suggested solution

If it is not there yet, add support for BuildLine.

Describe alternatives you've considered

?

Examples of other systems

No response

Do you want to develop this?

  • I want to develop this.

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or request

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions