Refactoring the monofile #215
                  
                    
                      giovtorres
                    
                  
                
                  started this conversation in
                Ideas
              
            Replies: 0 comments
  
    Sign up for free
    to join this conversation on GitHub.
    Already have an account?
    Sign in to comment
  
        
    
Uh oh!
There was an error while loading. Please reload this page.
-
Problem Statement
The
pyslurm.pyxfile is quite lengthy and unpleasant to work with. There is a bit of repetition between the various classes that could be abstracted away. There is also an opportunity to use more appropriate data structures.Potential Solution
Create a module for each class, standardizing on the methods as much as possible between classes.
Action Items
[ ] Identify classes to refactor and move to separate modules
[ ] Decide on a user interface structure
[ ] Create an issue for each class and add to project
Contributing
Wrapping C code is not always straightforward, but you don't need to know Cython or C to contribute. As a Slurm or PySlurm user, you can share feedback on the existing structure of PySlurm and how we can make improvements through this refactoring. The end goal is to have an easy to install, easy to use, fully functional Python client library for Slurm!
Beta Was this translation helpful? Give feedback.
All reactions